Medium severity · published Feb 6, 2026
CVE-2026-25749
Vim is an open source, command line text editor
6.6
CVSS
0.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
Neovim · Neovim
through 0.11.6 · source: NVD
VI
Vim · Vim
before 9.1.2132 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-25749
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-25749
Patch
https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9
Product
https://github.com/vim/vim/releases/tag/v9.1.2132
Exploit
https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43
More from Neovim
8.6
CVE-2019-12735
getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by…
7.8
CVE-2023-5535
Use After Free in GitHub repository vim/vim prior to v9.0.2010
7.8
CVE-2023-4781
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1873
7.8
CVE-2023-4752
Use After Free in GitHub repository vim/vim prior to 9.0.1858
7.8
CVE-2023-4750
Use After Free in GitHub repository vim/vim prior to 9.0.1857
