Medium severity · published May 22, 2026
CVE-2026-8997
Heap Buffer Overflow in vifm
4.8
CVSS
0.1%
EPSS
No
On KEV
Description
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
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
VI
vifm · vifm
0.12.1 through 0.14.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-8997
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-8997
cert.pl
https://cert.pl/en/posts/2026/05/CVE-2026-8997
github.com
https://github.com/vifm/vifm/commit/23063c741f15a85621fd232dfc3ac5b779f6910d
More from vifm
7.3
CVE-2026-110237
Vifm 0.8.1-beta through 0.14.4 Unverified IPC FIFO Ownership Allows Cross-User Command Execution
