CVE-2026-8997 Heap Buffer Overflow in vifm
MediumCVSS 4.8
EPSS 0.14%
- Published
- Updated
- Exploit status
- No public exploit known
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
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vifm | >= 0.12.1, <= 0.14.3 | No fix listed |
| ubuntu/vifm(Ubuntu:22.04) | All versions | No fix listed |
| debian/vifm(Debian:12) | All versions | No fix listed |
| debian/vifm(Debian:12) | = 0.12-1 | No fix listed |
| debian/vifm(Debian:12) | = 0.13-1 | No fix listed |
| debian/vifm(Debian:12) | = 0.14-1 | No fix listed |
| debian/vifm(Debian:12) | = 0.14-2 | No fix listed |
| debian/vifm(Debian:12) | = 0.14-3 | No fix listed |
| debian/vifm(Debian:12) | = 0.14.3-1 | No fix listed |
| debian/vifm(Debian:12) | = 0.14.3-2 | No fix listed |
| debian/vifm(Debian:12) | = 0.14.3-3 | No fix listed |
| debian/vifm(Debian:12) | = 0.14.4-1 | No fix listed |
| debian/vifm(Debian:13) | All versions | No fix listed |
| debian/vifm(Debian:13) | = 0.14-3 | No fix listed |
| debian/vifm(Debian:13) | = 0.14.3-1 | No fix listed |
| debian/vifm(Debian:13) | = 0.14.3-2 | No fix listed |
| debian/vifm(Debian:13) | = 0.14.3-3 | No fix listed |
| debian/vifm(Debian:13) | = 0.14.4-1 | No fix listed |
| debian/vifm(Debian:14) | < 0.14.3-3 | 0.14.3-3 |
| debian/vifm(Debian:14) | = 0.14-3 | No fix listed |
| debian/vifm(Debian:14) | = 0.14.3-1 | No fix listed |
| debian/vifm(Debian:14) | = 0.14.3-2 | No fix listed |
| ubuntu/vifm(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/vifm(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/vifm(Ubuntu:26.10) | All versions | No fix listed |
References
- cert.pl third-party-advisory
- github.com patch
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2026-8997 vendor-advisory
- bugs.debian.org issue-tracking