CVE-2026-26269: Vim has a Netbeans specialKeys Stack Buffer Overflow
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 specialkeys() (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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.1.1230-2+deb13u1Fixed in 2:9.2.0858-1 - Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.1.1230-2+deb13u1 - Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.2.0119-1 - Upgrade
Upgrade
Vimto a version that resolves this vulnerability.Fixed in 9.1.2148
Event History
Frequently Asked Questions
What is the severity of CVE-2026-26269?
CVE-2026-26269 is classified as a high severity vulnerability due to the potential for a stack buffer overflow.
How do I fix CVE-2026-26269?
To fix CVE-2026-26269, upgrade Vim to version 9.1.2148 or later.
Which versions of Vim are affected by CVE-2026-26269?
Vim versions prior to 9.1.2148 are affected by CVE-2026-26269.
What functionality in Vim does CVE-2026-26269 impact?
CVE-2026-26269 impacts the NetBeans integration feature in Vim when processing the specialKeys command.
Is CVE-2026-26269 remotely exploitable?
CVE-2026-26269 can be exploited locally if the specialKeys command is utilized, posing a risk to users.