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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"vim:vim": [
"< 9.1.2132"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25749",
"id": "CVE-2026-25749",
"imported": "2026-12-02T14:11:18.556Z",
"modified": "2026-06-17T10:25:09.910Z",
"published": "2026-02-06T23:15:54.230Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-25749"
},
{
"affected": {
"vim:vim": [
"< 9.1.2132"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-6930",
"id": "EUVD-2026-6930",
"imported": "2026-12-02T14:11:20.027Z",
"modified": "2026-02-09T15:26:17Z",
"published": "2026-02-06T22:43:38Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-6930"
}
]
}