Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-8997 EUVD-2026-31439GHSA-3623-vc46-pwpv

Heap Buffer Overflow in vifm

Published May 22, 2026 · Updated May 22, 2026 · Assigned by CERT-PL

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

VendorProductAffectedFixed
vifm vifm 0.12.1 – ≤ 0.14.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vifm 0.14.3-3 —
Debian 13 vifm No fix yet —
Debian 12 vifm No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 vifm No fix yet —
Ubuntu 26.04 LTS vifm No fix yet —
Ubuntu 25.10 vifm No fix yet —
Ubuntu 24.04 LTS vifm No fix yet —
Ubuntu 22.04 LTS vifm No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS vifm No fix yet —
Ubuntu 18.04 LTS vifm No fix yet —
Ubuntu 16.04 LTS vifm No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed vifm 0.14.4-1.1 openSUSE-SU-2026:10928-1

Advisories 1

References