CVE-2026-8997

MEDIUM CVSS 4.0: 4.8 EPSS 0.14%
Updated Jul 23, 2026
vifm
Parameter Value
CVSS 4.8 (MEDIUM)
Affected Versions 0.12.1 — 0.14.3
Type CWE-122 (Heap-based Buffer Overflow)
Vendor vifm
Public PoC No

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

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0