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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | fixed | 2:9.2.0461-1 |
| debian | sid | fixed | 2:9.2.0461-1 |
| debian | trixie | affected | |
| windows | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| vim | vim | {"endExcluding":"9.2.0450"} | 9.2.0450 |
References
- https://github.com/vim/vim/commit/92993329178cb1f72d700fff45ca86e1c2d369f8
- https://github.com/vim/vim/releases/tag/v9.2.0450
- https://github.com/vim/vim/security/advisories/GHSA-q4jv-r9gj-6cwv
- http://www.openwall.com/lists/oss-security/2026/05/14/3
- https://www.suse.com/security/cve/CVE-2026-45130.html
- https://security-tracker.debian.org/tracker/CVE-2026-45130
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45130
CWEs
CWE-122 CWE-190
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.