What’s Vulnerable › Vulnerabilities
CVE-2026-26269: Vim has a Netbeans specialKeys Stack Buffer Overflow
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-13 · updated 2026-06-17
- Weakness: CWE-121
Description
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.
Affected products
- vim/vim: before 9.1.2148 — fixed in 9.1.2148
How to fix
Upgrade to a fixed version: vim/vim 9.1.2148. Check the vendor advisory for mitigations.
References
- https://github.com/vim/vim/commit/c5f312aad8e4179e437f81ad39a860cd0ef11970
- https://github.com/vim/vim/releases/tag/v9.1.2148
- https://github.com/vim/vim/security/advisories/GHSA-9w5c-hwr9-hc68
- http://www.openwall.com/lists/oss-security/2026/02/13/2
Get alerted when CVE-2026-26269 or the next vulnerability affects your stack