Vulnerability · Published Feb 13, 2026 · Assigned by GitHub_M
CVE-2026-26269Vim has a Netbeans specialKeys Stack Buffer Overflow
Medium 5.4
In plain English
A medium-severity stack buffer overflow in vim from vim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | vim | no fix listed | DEBIAN-CVE-2026-26269 |
| Debian:13 | vim | 2:9.1.1230-2+deb13u1 | DEBIAN-CVE-2026-26269 |
| Debian:14 | vim | 2:9.2.0119-1 | DEBIAN-CVE-2026-26269 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.26 | UBUNTU-CVE-2026-26269 |
| Ubuntu:24.04:LTS | vim | 2:9.1.0016-1ubuntu7.10 | UBUNTU-CVE-2026-26269 |
| Ubuntu:25.10 | vim | 2:9.1.0967-1ubuntu6.1 | UBUNTU-CVE-2026-26269 |
| Ubuntu:26.04:LTS | vim | 2:9.1.2141-1ubuntu2 | UBUNTU-CVE-2026-26269 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L