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
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
Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.2.2 (cuda)
Red Hat Security Advisory: OpenShift Container Platform 4.17.54 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.15.64 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.14.65 bug fix and security update
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (Spyre)
23 more advisories
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?
Is CVE-2026-25749 actively exploited?
What is the CVSS score for CVE-2026-25749?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2022-1621same product
- CVE-2022-1629same product
- CVE-2026-28417same product
- CVE-2025-53906same product
- CVE-2025-53905same productVim has path traversial issue with tar.vim and special crafted tar files
- CVE-2026-28421same product
- CVE-2026-28420same productVim has Heap-based Buffer Overflow and OOB Read in :terminal
- CVE-2026-31431KEVsame advisorycrypto: algif_aead - Revert to operating out-of-place