Skip to main content
MEDIUM

CVE-2026-25749

Heap Overflow in Vim

CVSS v3

6.6

MEDIUM

EPSS Score

0.2 %

exploit probability, as of 2026-10-15

CISA KEV

No

known exploited

Exploitation

none

SSVC status

Get an alert for each new CVE published for vim. Watch vim in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • vim-dataAlmaLinux:10all versions · fixed in 2:9.1.083-6.el10_1.1and 1 other package
  • vim-X11AlmaLinux:9all versions · fixed in 2:8.2.2637-23.el9_7.1and 4 other packages
  • vim-X11AlmaLinux:8all versions · fixed in 2:8.0.1763-22.el8_10and 4 other packages

Vendor advisories

  • CVE-2026-25749 Red Hat Product Security649 products fixed · 7 known affected

    vim: Vim: Arbitrary code execution via 'helpfile' option processing

    vim-X11 as a component of Red Hat Enterprise Linux 6 · vim-common as a component of Red Hat Enterprise Linux 6 · vim-enhanced as a component of Red Hat Enterprise Linux 6

  • RHSA-2026:25096 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.2.2 (cuda)

  • RHSA-2026:17596 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.17.54 bug fix and security update

  • RHSA-2026:14773 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.15.64 bug fix and security update

  • RHSA-2026:15087 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.14.65 bug fix and security update

  • RHSA-2026:16174 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (Spyre)

23 more advisories

Full record on NVD

Description

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Published
2026-02-06
Last Modified
2026-02-20

Frequently asked questions

What is CVE-2026-25749?

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.

Is CVE-2026-25749 actively exploited?

Active exploitation of CVE-2026-25749 has not been confirmed. Its EPSS score was 0.2% on 2026-10-15, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-25749?

CVE-2026-25749 has a CVSS v3 base score of 6.6 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H.

Running vim? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key