CVE-2026-25749: neovim Heap-based Buffer Overflow
Vulnerability summary
CVE-2026-25749 is a medium (CVSS 6.6) Heap-based Buffer Overflow vulnerability in neovim. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 10 · 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.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundVim
Maturity: poc
Weaknesses
CWE · root causeAffected systems
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.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