CVE-2026-45130
6.6 MEDIUMVim is an open source, command line text editor
Published: 2026-05-08 · Last updated: 2026-06-09
Severity and scoring
- CVSS
- 6.6 MEDIUM
- Vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
- CWE
- CWE-122, CWE-190
Affected products
| Vendor | Product |
|---|---|
| neovim | neovim, vim |
| vim | neovim, vim |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-45130
- [Patch]https://github.com/vim/vim/commit/92993329178cb1f72d700fff45ca86e1c2d369f8
- [Other]https://github.com/vim/vim/releases/tag/v9.2.0450
- [Patch]https://github.com/vim/vim/security/advisories/GHSA-q4jv-r9gj-6cwv
- [Other]http://www.openwall.com/lists/oss-security/2026/05/14/3
Related CVEs
Same vendor
- CVE-2026-46483 — Vim is an open source, command line text editor (3.6 LOW)
- CVE-2026-25749 — Vim is an open source, command line text editor (6.6 MEDIUM)
- CVE-2025-22134 — When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because... (4.2 MEDIUM)
- CVE-2024-43374 — The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling (4.5 MEDIUM)
- CVE-2021-4019 — vim is vulnerable to Heap-based Buffer Overflow (7.8 HIGH)
Same CWE
- CVE-2026-53465 — ImageMagick is free and open-source software used for editing and manipulating digital images (6.2 MEDIUM)
- CVE-2026-48994 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.9 MEDIUM)
- CVE-2026-46692 — ImageMagick is free and open-source software used for editing and manipulating digital images (4.1 MEDIUM)
- CVE-2026-46520 — ImageMagick is free and open-source software used for editing and manipulating digital images (7.5 HIGH)
- CVE-2026-2049 — GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability (7.8 HIGH)