SecurityContext

CVE-2026-26269: Vim - Buffer Overflow

  • Cve: CVE-2026-26269
  • Name: Vim - Buffer Overflow
  • 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.
  • Impact: A malicious NetBeans server can cause a stack buffer overflow, potentially leading to remote code execution or application crash.
  • Remediation: Update to version 9.1.2148 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00349
  • Epss percentile: 0.28834
  • Assignee: [email protected]
  • Published at: 2026-02-13T20:17:41Z
  • Age in days: 284
  • Modified at: 2026-06-17T10:26:01Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-26269
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-121Stack-based Buffer Overflow

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/vim/vim/commit/c5f312aad8e4179e437f81ad39a860cd0ef11970Patch
https://github.com/vim/vim/security/advisories/GHSA-9w5c-hwr9-hc68Patch, Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/02/13/2Mailing List, Patch, Third Party Advisory
https://github.com/vim/vim/releases/tag/v9.1.2148Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
vim:vim< 9.1.2148nonvd/v1/products/vim/vim

Projects

RepositoryLink kindsIndexedUrl
vim/vimcommit, releases, security_advisoryyes/v1/repositories/vim/vim

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 365
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports