Buffer overflow in Vim
CVE-2026-28418
Vim is an open source, command line text editor. Prior to version 9.2.0074, a heap-based buffer overflow out-of-bounds read exists in Vim's Emacs-style tags file parsing logic. When processing a malformed tags file, Vim can be tricked into reading up to 7 bytes beyond the allocated memory boundary. Version 9.2.0074 fixes the issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (11.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 12th percentile — 11.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Vim — versions < 9.2.0074
Weakness classification (CWE)
References
- github.com/vim/vim/security/advisories/GHSA-h4mf-vg97-hj8j (Patch, Vendor Advisory)
- github.com/vim/vim/commit/f6a7f469a9c0d09e84cd6cb (Patch)
- github.com/vim/vim/releases/tag/v9.2.0074 (Release Notes)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-28418?
- CVE-2026-28418 is a medium-severity vulnerability in Vim, classified under Heap-based Buffer Overflow. CVSS score: 4.4/10. Published 2026-02-27.
- How severe is CVE-2026-28418?
- Medium severity. CVSS v3 base score is 4.4 out of 10.