CVE Catalog

CVE-2026-26269

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Summary

A stack buffer overflow vulnerability exists in Vim's NetBeans integration when processing the specialKeys command. A malicious NetBeans server can overflow the 64-byte keybuf with a single specialKeys command. The issue is fixed in Vim patch v9.1.2148.

Risk Assessment

An attacker controlling a NetBeans server can trigger a stack buffer overflow in Vim, potentially enabling code execution or crashing the editor. The risk applies only to Vim builds with the NetBeans feature enabled.

Recommendation

Update Vim to version 9.1.2148 or later. If the NetBeans feature is not needed, disable it in the build or configuration.

Other vulnerabilities in Vim

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS