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.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade vimUpgrade neovim | May 15, 2026 | May 8, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | May 8, 2026 |
| Ubuntu | — | Upgrade vim-athenaUpgrade vim-tiny (Ubuntu Pro)Upgrade vim-gui-commonUpgrade vim-commonUpgrade vim-gtk3-py2 (Ubuntu Pro)Upgrade vim-gnome (Ubuntu Pro)Upgrade vim-runtime (Ubuntu Pro)Upgrade vim-athena (Ubuntu Pro)Upgrade vim-gtk-py2 (Ubuntu Pro)Upgrade vim-runtimeUpgrade vimUpgrade vim-gui-common (Ubuntu Pro)Upgrade vim-athena-py2 (Ubuntu Pro)Upgrade vim-nox (Ubuntu Pro)Upgrade vim-gtk3Upgrade vim-gtk3 (Ubuntu Pro)Upgrade vim-gtk (Ubuntu Pro)Upgrade vim-noxUpgrade vim-motifUpgrade vim-lesstif (Ubuntu Pro)Upgrade vim-gnome-py2 (Ubuntu Pro)Upgrade vim-common (Ubuntu Pro)Upgrade vim-tinyUpgrade vim (Ubuntu Pro)Upgrade vim-gtkUpgrade vim-nox-py2 (Ubuntu Pro) | May 26, 2026 | May 25, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 1, 2026 | May 8, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub