CVE-2026-8997: Heap Buffer Overflow in vifm

Published May 22, 2026
·
Updated

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 Software

1 affected component
vifm vifm>=0.12.1<=0.14.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vifm to a version that resolves this vulnerability.

    Patch 23063c7

Event History

May 22, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
DescriptionWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Apr 28, 58520
Event
via FIRST·06:48 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-8997?

CVE-2026-8997 has a risk severity rating of 20.

2

How do I fix CVE-2026-8997?

To fix CVE-2026-8997, update to the latest version of vifm that addresses the heap buffer overflow vulnerability.

3

What conditions lead to exploitation of CVE-2026-8997?

CVE-2026-8997 can be exploited due to a lack of runtime checks on the length of history entries during the history merge process.

4

What type of vulnerability is CVE-2026-8997?

CVE-2026-8997 is categorized as a heap buffer overflow vulnerability.

5

In which software is CVE-2026-8997 found?

CVE-2026-8997 is found in the vifm software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203