Buffer overflow in Vim
CVE-2026-28422
Vim is an open source, command line text editor. Prior to version 9.2.0078, a stack-buffer-overflow occurs in `build_stl_str_hl()` when rendering a statusline with a multi-byte fill character on a very wide terminal. Version 9.2.0078 patches the issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.2 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.001 (2.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 3rd percentile — 2.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: -0.000
Affected products
- Vim — versions < 9.2.0078
Weakness classification (CWE)
References
- github.com/vim/vim/security/advisories/GHSA-gmqx-prf2-8mwf (Patch, Vendor Advisory)
- github.com/vim/vim/commit/4e5b9e31cb7484ad156f (Patch)
- github.com/vim/vim/releases/tag/v9.2.0078 (Product)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2026-28422?
- CVE-2026-28422 is a low-severity vulnerability in Vim, classified under Stack-based Buffer Overflow. CVSS score: 2.2/10. Published 2026-02-27.
- How severe is CVE-2026-28422?
- Low severity. CVSS v3 base score is 2.2 out of 10.