CVE Explorer
CVE-2026-25749
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 i
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"vim","vendor":"vim","versions":[{"status":"affected","version":"< 9.1.2132"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:cb37e3051d9fb74e7ec44dbb5e12f423c556392899ad072dc2ac58ece2431156 · sha256:34bd409cd393963a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:cb37e3051d9fb74e7ec44dbb5e12f423c556392899ad072dc2ac58ece2431156 · sha256:34bd409cd393963a… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:cb37e3051d9fb74e7ec44dbb5e12f423c556392899ad072dc2ac58ece2431156 · sha256:34bd409cd393963a… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb37e3051d9fb74e7ec44dbb5e12f423c556392899ad072dc2ac58ece2431156 · sha256:34bd409cd393963a… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/releases/tag/v9.1.2132","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/releases/tag/v9.1.2132"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb37e3051d9fb74e7ec44dbb5e12f423c556392899ad072dc2ac58ece2431156 · sha256:34bd409cd393963a… · /containers/cna/references/2
{"name":"https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb37e3051d9fb74e7ec44dbb5e12f423c556392899ad072dc2ac58ece2431156 · sha256:34bd409cd393963a… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.