# CVE-2026-26269: Vim has a Netbeans specialKeys Stack Buffer Overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-13 · Modified: 2026-02-13
- Aliases: MGASA-2026-0042, UBUNTU-CVE-2026-26269, DEBIAN-CVE-2026-26269
- Record: https://cvemate.com/vulnerability/CVE-2026-26269 · JSON: https://cvemate.com/vulnerability/CVE-2026-26269/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.349%, percentile 30.476%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0119-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm23 \| \< 2:7.4.1689-3ubuntu1.5+esm29 \| \< 2:8.0.1453-1ubuntu1.13+esm14 \| \< 2:8.1.2269-1ubuntu5.32+esm2 \| \< 2:8.2.3995-1ubuntu2.26 \| \< 2:9.1.0016-1ubuntu7.10 \| \< 2:9.1.0967-1ubuntu6.1 \| \< 2:9.1.2141-1ubuntu2
- mageia vim (Mageia): \< 9.1.2148-1.mga9
- vim vim: \< 9.1.2148

## References

- <https://github.com/vim/vim/security/advisories/GHSA-9w5c-hwr9-hc68>
- <https://github.com/vim/vim/commit/c5f312aad8e4179e437f81ad39a860cd0ef11970>
- <https://github.com/vim/vim/releases/tag/v9.1.2148>
- <http://www.openwall.com/lists/oss-security/2026/02/13/2>
- <https://advisories.mageia.org/MGASA-2026-0042.html>
- <https://bugs.mageia.org/show_bug.cgi?id=35135>
- <https://www.openwall.com/lists/oss-security/2026/02/13/2>
- <https://ubuntu.com/security/CVE-2026-26269>
- <https://www.cve.org/CVERecord?id=CVE-2026-26269>
- <https://ubuntu.com/security/notices/USN-8101-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-26269>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26269>

---

Data as of 2026-12-05T05:55:34.567Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
