CVE Explorer
CVE-2026-8997
vifm is vulnerable to a heap buffer overflow during the history merge process when saving the state file (vifminfo.json). This flaw occurs because the application lacks a runtime check on the length of history entries in release builds, potentially allowing a crafted long path or command in the history to cause memory corruption or application crashes.
Releases from 0.12.1 to 0.14.3 (including) are considered vulnerable. This issue was fixed in commit 23063c7
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"vifm","programFiles":["src/utils/trie.c"],"repo":"https://github.com/vifm/vifm/","vendor":"vifm","versions":[{"lessThanOrEqual":"0.14.3","status":"affected","version":"0.12.1","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1bcce49c2739bf6eb4407d9a186ad0bd2b350c427998fb312889aab634c9d74c · sha256:a4965567ea061124… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":4.8,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"N…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1bcce49c2739bf6eb4407d9a186ad0bd2b350c427998fb312889aab634c9d74c · sha256:a4965567ea061124… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1bcce49c2739bf6eb4407d9a186ad0bd2b350c427998fb312889aab634c9d74c · sha256:a4965567ea061124… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["third-party-advisory"],"url":"https://cert.pl/en/posts/2026/05/CVE-2026-8997"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1bcce49c2739bf6eb4407d9a186ad0bd2b350c427998fb312889aab634c9d74c · sha256:a4965567ea061124… · /containers/cna/references/0
{"tags":["patch"],"url":"https://github.com/vifm/vifm/commit/23063c741f15a85621fd232dfc3ac5b779f6910d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1bcce49c2739bf6eb4407d9a186ad0bd2b350c427998fb312889aab634c9d74c · sha256:a4965567ea061124… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.