CVE-2026-25749: Heap Overflow in Vim
Vulnerability summary
CVE-2026-25749 is a medium (CVSS 6.6) Heap-based Buffer Overflow vulnerability in neovim. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19.2% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 1Timeline
- 06-02-2026PublishedVulnerability first disclosed.
- 09-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · AlpineEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
- NVDNIST6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.26% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVim
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat4 products
- vim< 2:8.0.1763-22.el8_10 | < 2:9.1.083-6.el10_1.1 | < 2:8.2.2637-23.el9_7.1
- vim-enhanced< 2:8.0.1763-22.el8_10 | < 2:9.1.083-6.el10_1.1 | < 2:8.2.2637-23.el9_7.1
- vim-minimal< 2:8.0.1763-22.el8_10 | < 2:9.1.083-6.el10_1.1 | < 2:8.2.2637-23.el9_7.1
- vim-X11< 2:8.0.1763-22.el8_10 | < 2:9.1.083-6.el10_1.1 | < 2:8.2.2637-23.el9_7.1
Alpine1 product
- vim< 9.1.2132-r0
Debian1 product
- vimAll versions (No fix recorded) | < 2:9.1.1230-2+deb13u1 | < 2:9.1.2141-1
Neovim1 product
- neovim≤ 0.11.6
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm23 | < 2:7.4.1689-3ubuntu1.5+esm29 | < 2:8.0.1453-1ubuntu1.13+esm14 | < 2:8.1.2269-1ubuntu5.32+esm2 | < 2:8.2.3995-1ubuntu2.26 | < 2:9.1.0016-1ubuntu7.10 | < 2:9.1.0967-1ubuntu6.1
Vim1 product
- vim< 9.1.2132
6 vendors · 9 products
References
18 links- github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43X Refsource CONFIRMARTICLEREPORTExploitPatchVendor Advisory