{"id":"CVE-2026-8997","published":"2026-05-22T13:26:17Z","modified":"2026-05-22T15:03:29Z","title":"Heap Buffer Overflow in vifm","vendor":"vifm","product":"vifm","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0014,"percentile":0.03464,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://cert.pl/en/posts/2026/05/CVE-2026-8997","tags":["third-party-advisory"]},{"url":"https://github.com/vifm/vifm/commit/23063c741f15a85621fd232dfc3ac5b779f6910d","tags":["patch"]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":0.69},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"vifm","affectedVersions":[{"vendor":"vifm","product":"vifm","versions":[">= 0.12.1, <= 0.14.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-22T15:03:15.382556Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31439","exploited":false,"provenance":"source"}}