Buffer Overflow Affecting vim-common package, versions <2:7.4.629-8.el7_9.1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (1st 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-RHEL7-VIMCOMMON-15959544
  • published10 Apr 2026
  • disclosed6 Feb 2026

Introduced: 6 Feb 2026

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

How to fix?

Upgrade RHEL:7 vim-common to version 2:7.4.629-8.el7_9.1 or higher.
This issue was patched in RHSA-2026:6617.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-common package and not the vim-common package as distributed by RHEL. See How to fix? for RHEL:7 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