CVE-2026-45130
Description
Vim is an open source, command line text editor. Prior to version 9.2.0450, a heap buffer overflow exists in read_compound() in src/spellfile.c when loading a crafted spell file (.spl) with UTF-8 encoding active. An attacker-controlled length field in the spell file's compound section overflows a 32-bit signed integer multiplication, causing a small buffer to be allocated for a write loop that runs many iterations, overflowing the heap. Because the 'spelllang' option can be set from a modeline, a text file modeline can trigger spell file loading if a malicious .spl file has been planted on the runtimepath. This issue has been patched in version 9.2.0450.
Weakness
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-12 |
Timeline
- 2026-05-08Published by the CNA22:42 UTC
- 2026-05-12CISA SSVC decision recorded4 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| vim vim | before 9.2.0450fixed in 9.2.0450 | 9.2.0450 |
| neovim neovim | through 0.12.2no fix listed | not listed |
References
- https://github.com/vim/vim/commit/92993329178cb1f72d700fff45ca86e1c2d369f8
- https://github.com/vim/vim/security/advisories/GHSA-q4jv-r9gj-6cwv
- http://www.openwall.com/lists/oss-security/2026/05/14/3
- https://github.com/vim/vim/releases/tag/v9.2.0450
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45130'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45130'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45130'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45130'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).