Skip to main content

Vim EUVDEUVD-2026-20622

| CVE-2026-39881 HIGH
Code Injection (CWE-94)
2026-04-08 GitHub_M
High
Disputed · 7.8 NVD
Temporal: 5.0
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 5.0 score reflects a localized attack vector (AV:L), high attack complexity (AC:H), and requirement for low user privileges and user interaction (PR:L/UI:R), resulting in low confidentiality impact but high integrity impact. However, the real-world risk is moderate: exploitation requires an attacker to control a malicious netbeans server and convince a local user to connect Vim to it-a restrictive precondition. The attack complexity is high because it depends on successful social engineering or network positioning. No KEV status (active exploitation by CISA) or public proof-of-concept is indicated in the provided data, suggesting this is not yet widely exploited in practice. The command injection nature (CWE-94) and ability to execute arbitrary Ex commands represent significant integrity risk if exploitation occurs, but the strict authentication and interaction requirements limit the practical threat surface compared to higher-severity remote vulnerabilities. Organizations with Vim users accepting netbeans connections from untrusted sources should prioritize patching; others can defer to regular update cycles.

Exploit ScenarioDerived

An attacker sets up a malicious netbeans server and convinces a local user to connect Vim to it (via a crafted network configuration or social engineering). When Vim connects, the attacker sends a specially crafted defineAnnoType or specialKeys message containing Ex command metacharacters. The netbeans interface parser fails to escape or validate these strings, causing the injected Ex commands to execute within Vim's context with the user's privileges, potentially enabling arbitrary file manipulation, code execution, or data exfiltration depending on the injected commands and the user's file system permissions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Vim 9.2.0315 and earlier contains a command injection vulnerability in the netbeans interface that allows a malicious netbeans server to execute arbitrary Ex commands via unsanitized strings in defineAnnoType and specialKeys protocol messages. An authenticated local attacker with user-level privileges and ability to interact with a netbeans connection can achieve code execution with the privileges of the Vim process. The vulnerability is fixed in Vim 9.2.0316.

RemediationAI

Upgrade Vim to version 9.2.0316 or later, which contains the upstream fix committed at https://github.com/vim/vim/commit/7ab76a86048ed492374ac6b19. Users unable to immediately upgrade should avoid connecting Vim to untrusted or unverified netbeans servers. The netbeans protocol can be disabled entirely by not loading the netbeans plugin or by compiling Vim without netbeans support if the feature is not required. See the official security advisory at https://github.com/vim/vim/security/advisories/GHSA-mr87-rhgv-7pw6 for additional guidance.

Affected VersionsENISA

vim < 9.2.0316

Affected Packages

euvd vim fix: 9.2.0316

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The netbeans interface in Vim is a remote debugging and IDE integration feature that communicates with external servers via a text-based protocol. The vulnerability exists in CWE-94 (Improper Control of Generation of Code), where user-supplied input from netbeans protocol messages (specifically defineAnnoType and specialKeys commands) is passed unsanitized into Vim's Ex command execution engine. The netbeans protocol handler fails to properly validate or escape special characters that have meaning in the Ex command language, allowing an attacker controlling a malicious netbeans server to inject arbitrary Ex commands. This affects the open-source Vim text editor across all versions prior to the patched release 9.2.0316.

Know when Vim gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CIRCL (temporal) 5.0 MEDIUM
SUSE 3.1 LOW
AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N
Red Hat 5.0 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Severity Changed
Jul 24, 2026 - 21:22 NVD
MEDIUM HIGH
CVSS changed
Jul 24, 2026 - 21:22 NVD
5.0 (MEDIUM) 7.8 (HIGH)
Patch available
Apr 16, 2026 - 05:29 EUVD
9.2.0316
CVE Published
Apr 08, 2026 - 20:18 nvd
MEDIUM 5.0

DescriptionNVD

Vim is an open source, command line text editor. Prior to 9.2.0316, a command injection vulnerability in Vim's netbeans interface allows a malicious netbeans server to execute arbitrary Ex commands when Vim connects to it, via unsanitized strings in the defineAnnoType and specialKeys protocol messages. This vulnerability is fixed in 9.2.0316.

Threat Intelligence Overview

EPSS Score
0.1%
Top 67% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Vim

View all
CVE-2022-3520 CRITICAL POC
9.8 Dec 02

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765. Rated critical severity (CVSS 9.8), this vuln

CVE-2022-0729 HIGH POC
8.8 Feb 23

Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4440. Rated high severity (CVSS 8.8), this

CVE-2026-34714 HIGH POC
8.6 Mar 30

Code execution vulnerability in Vim before 9.2.0272 allows attackers to gain immediate arbitrary command execution upon

CVE-2019-12735 HIGH POC
8.6 Jun 05

getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via th

CVE-2021-3968 HIGH POC
8.0 Nov 19

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 8.0), this vulnerability is remotely exploita

CVE-2022-1616 HIGH POC
7.8 May 07

Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. Rated high severity (CVSS 7.8), this vu

CVE-2022-1619 HIGH POC
7.8 May 08

Heap-based Buffer Overflow in function cmdline_erase_chars in GitHub repository vim/vim prior to 8.2.4899. Rated high se

CVE-2021-4136 HIGH POC
7.8 Dec 19

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2021-3973 HIGH POC
7.8 Nov 19

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2021-3927 HIGH POC
7.8 Nov 05

vim is vulnerable to Heap-based Buffer Overflow. Rated high severity (CVSS 7.8), this vulnerability is no authentication

CVE-2022-2125 HIGH POC
7.8 Jun 19

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2. Rated high severity (CVSS 7.8), this vulnerability

CVE-2022-2126 HIGH POC
7.8 Jun 19

Out-of-bounds Read in GitHub repository vim/vim prior to 8.2. Rated high severity (CVSS 7.8), this vulnerability is no a

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Fixed
SLES15-SP6-CHOST-BYOS Fixed
SLES15-SP6-CHOST-BYOS-Aliyun Fixed
SLES15-SP6-CHOST-BYOS-Azure Fixed
SLES15-SP6-CHOST-BYOS-EC2 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy