CVE-2026-26269 Details
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.
A stack buffer overflow vulnerability has been identified in Vim's NetBeans integration, prior to version 9.1.2148. The issue arises in the 'special_keys()' function within 'src/netbeans.c', where a 64-byte stack buffer is subjected to unchecked writes from a loop processing the 'specialKeys' command. This vulnerability allows a malicious NetBeans server to overflow the buffer, potentially leading to arbitrary code execution by overwriting the return address on the stack. The flaw was confirmed using AddressSanitizer.
Users can upgrade to Vim version 9.1.2148 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/02/13/2 | CVE | Mailing ListPatchThird Party Advisory |
| https://github.com/vim/vim/commit/c5f312aad8e4179e437f81ad39a860cd0ef11970 | [email protected] | Patch |
| https://github.com/vim/vim/releases/tag/v9.1.2148 | [email protected] | Release Notes |
| https://github.com/vim/vim/security/advisories/GHSA-9w5c-hwr9-hc68 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vim vim | < 9.1.2148 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2026 | Initial Analysis | [email protected] |
| Feb 13, 2026 | CVE Modified | CVE |
| Feb 13, 2026 | New CVE Received | [email protected] |