CVE-2026-26269 Vim has a Netbeans specialKeys Stack Buffer Overflow
A stack buffer overflow in Vim's NetBeans integration allows a malicious server to execute arbitrary code via a crafted specialKeys command.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-26269?
CVE-2026-26269 is a medium-severity memory corruption vulnerability in Vim Vim, published on 13 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2026-26269?
It affects 1 product.
Products include Vim Vim.
How do I fix CVE-2026-26269?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-26269 being exploited?
There is no known exploitation of CVE-2026-26269 in the wild and no public exploit code.
Other vulnerabilities in Vim Vim
Sources
Also known as AZL-77592, AZL-77850, BELL-CVE-2026-26269, CLSA-2026-1772466351, CLSA-2026-1772622920, CLSA-2026-1772703383 and 16 more.