Heap-based Buffer Overflow Affecting vim-filesystem package, versions <2:9.1.083-6.el10_1.1


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX10-VIMFILESYSTEM-15758263
  • published23 Mar 2026
  • disclosed24 Mar 2026

Introduced: 23 Mar 2026

CVE-2026-25749  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:10 vim-filesystem to version 2:9.1.083-6.el10_1.1 or higher.
This issue was patched in ALSA-2026:4715.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-filesystem package and not the vim-filesystem package as distributed by AlmaLinux. See How to fix? for AlmaLinux:10 relevant fixed versions and status.

Vim is an open source, command line text editor. Prior to version 9.1.2132, a heap buffer overflow vulnerability exists in Vim's tag file resolution logic when processing the 'helpfile' option. The vulnerability is located in the get_tagfname() function in src/tag.c. When processing help file tags, Vim copies the user-controlled 'helpfile' option value into a fixed-size heap buffer of MAXPATHL + 1 bytes (typically 4097 bytes) using an unsafe STRCPY() operation without any bounds checking. This issue has been patched in version 9.1.2132.

CVSS Base Scores

version 3.1