# CVE-2026-25749: Heap Overflow in Vim

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-06T22:43:38.630Z
- Modified: 2026-06-17T10:25:09.910Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vim vim: < 9.1.2132; before 9.1.2132
- neovim neovim: up to 0.11.6

## References

- <https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43> (exploit, patch, vendor-advisory)
- <https://github.com/vim/vim/commit/0714b15940b245108e6e9d7aa2260dd849a26fa9> (patch)
- <https://github.com/vim/vim/releases/tag/v9.1.2132> (product)

## Sources

- CVE List: [CVE-2026-25749](https://www.cve.org/CVERecord?id=CVE-2026-25749), CVE Terms of Use, modified 2026-02-09
- NVD: [CVE-2026-25749](https://nvd.nist.gov/vuln/detail/CVE-2026-25749), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25749 · Whole record: https://cve.day/CVE-2026-25749.json · Rebuilt by cve.day 2026-11-25T22:59:13.588Z
