{"id":"CVE-2026-8997","summary":"Heap Buffer Overflow in vifm","details":"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.\nReleases from 0.12.1 to 0.14.3 (including) are considered vulnerable. This issue was fixed in commit 23063c7","modified":"2026-07-08T08:12:16.451840606Z","published":"2026-05-22T13:26:17.904Z","related":["openSUSE-SU-2026:10928-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8997.json","cwe_ids":["CWE-122"],"cna_assigner":"CERT-PL"},"references":[{"type":"WEB","url":"https://github.com/vifm/vifm/"},{"type":"ADVISORY","url":"https://cert.pl/en/posts/2026/05/CVE-2026-8997"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8997.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8997"},{"type":"FIX","url":"https://github.com/vifm/vifm/commit/23063c741f15a85621fd232dfc3ac5b779f6910d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vifm/vifm","events":[{"introduced":"ba928c66d708108666cf51ad5e905d4dd565af17"},{"fixed":"23063c741f15a85621fd232dfc3ac5b779f6910d"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0.12.1"},{"last_affected":"0.14.3"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8997.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}