Home

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.

PUBLISHED Reserved 2026-02-12 | Published 2026-02-13 | Updated 2026-02-13 | Assigner GitHub_M




MEDIUM: 5.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Problem types

CWE-121: Stack-based Buffer Overflow

Product status

< 9.1.2148
affected

References

www.openwall.com/lists/oss-security/2026/02/13/2

github.com/vim/vim/security/advisories/GHSA-9w5c-hwr9-hc68

github.com/...ommit/c5f312aad8e4179e437f81ad39a860cd0ef11970

github.com/vim/vim/releases/tag/v9.1.2148

cve.org (CVE-2026-26269)

nvd.nist.gov (CVE-2026-26269)

Download JSON