Vim is an open source, command line text editor. Prior to 9.1.2148, a stack buffer overflow vulnerability exists in Vim's NetBeans integration when processing the specialKeys command, affecting Vim builds that enable and use the NetBeans feature. The Stack buffer overflow exists in special_keys() (in src/netbeans.c). The while (*tok) loop writes two bytes per iteration into a 64-byte stack buffer (keybuf) with no bounds check. A malicious NetBeans server can overflow keybuf with a single specialKeys command. The issue has been fixed as of Vim patch v9.1.2148.
CVSS Details
- CVSS 3.1 Base Score: 5.4
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade vim-filesystemUpgrade vim-debugsourceUpgrade vim-debuginfoUpgrade vim-commonUpgrade vim-default-editorUpgrade vim-minimal-debuginfoUpgrade vim-enhancedUpgrade vim-dataUpgrade xxd-debuginfoUpgrade xxdUpgrade vim-enhanced-debuginfoUpgrade vim-minimal | Apr 14, 2026 | Feb 13, 2026 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Feb 13, 2026 |
| Ubuntu | — | Upgrade vim (Ubuntu Pro)Upgrade vim | Mar 19, 2026 | Feb 13, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 13, 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