Skip to main content

Vim EUVDEUVD-2026-52970

| CVE-2026-51401 HIGH
Code Injection (CWE-94)
2026-08-04 mitre GHSA-wv45-rxv4-pf47
7.7
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local account on OpenVMS host
  2. Delivery
    Craft VMS filename with code injection payload
  3. Exploit
    Place crafted file in Vim-accessible directory
  4. Execution
    Trigger Vim to process filename through vms_fixfilename()
  5. Impact
    Execute arbitrary code in Vim process context

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.

Exploitation Conditions

Exploitation strictly requires local access to an OpenVMS (VMS) system running Vim 9.2.0389 or earlier - this vulnerability does not affect any non-VMS platform build of Vim. The attacker must be able to introduce or control a file with a crafted filename that Vim will process through vms_fixfilename(), for example by writing to a directory that a Vim session will traverse or open. The CVSS vector designates PR:N (no privileges required locally), but on OpenVMS any local session implies at least basic system authentication, so the practical floor is possession of a valid local OS account. No network-based exploitation is possible - the attack vector is strictly local (AV:L). No user interaction beyond the victim running Vim against the crafted filename is required (UI:N). The primary limiting factor is platform specificity: OpenVMS deployment is exceedingly rare in modern infrastructure.

Impact

The CVSS base score of 7.7 with vector AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N reflects a low-complexity local attack with significant confidentiality and integrity impact. However, the PR:N designation warrants scrutiny - on OpenVMS, any local session typically implies at least basic system authentication, making PR:N potentially overstated; security teams should verify the actual privilege boundary in their VMS configuration. The EPSS score of 0.16% (6th percentile) is very low despite the high CVSS, consistent with the narrow attack surface: this vulnerability only matters on OpenVMS systems, a platform with near-zero modern enterprise footprint outside of legacy banking, defense, and industrial environments. No CISA KEV listing confirms no confirmed active exploitation. The publicly available researcher Gist write-up slightly elevates theoretical risk by lowering the knowledge barrier for exploit development, but the VMS platform constraint is the dominant risk-limiting factor. This is a low operational priority for the vast majority of organizations but a genuine concern for any entity still running OpenVMS.

Exploit ScenarioDerived

A local attacker with access to an OpenVMS host creates or places a file with a specially crafted VMS-format filename designed to inject code into the vms_fixfilename() processing logic. When a Vim user or automated process opens or processes the crafted filename, the injected code executes within the context of the Vim process, giving the attacker code execution at that process's privilege level. A researcher's technical write-up is publicly available via GitHub Gist, which may lower the effort required to develop functional exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Arbitrary code injection in Vim 9.2.0389 and earlier exposes OpenVMS deployments to local code execution through a flaw in the platform-specific vms_fixfilename() function in os_vms.c. A local attacker can craft a malicious filename that bypasses sanitization controls in this VMS-only code path, causing Vim to execute injected code. No public exploit has been identified at time of analysis and no CISA KEV listing exists, though a researcher's technical write-up is publicly accessible via GitHub Gist; the EPSS score of 0.16% (6th percentile) indicates very low exploitation probability in practice.

RemediationAI

The primary remediation is to upgrade Vim to a version later than 9.2.0389 that includes a fix for the vms_fixfilename() code injection flaw; however, no specific patched version has been confirmed in the available data. Organizations should monitor the Vim GitHub repository at https://github.com/vim/vim and track commits to src/os_vms.c for an upstream fix. As compensating controls for environments where an immediate upgrade is not possible, restrict local user access to OpenVMS hosts running Vim, apply the principle of least privilege so that only required accounts can invoke Vim, and avoid processing untrusted or externally supplied filenames through Vim on VMS systems. If OpenVMS instances are no longer operationally required, decommissioning them eliminates the attack surface entirely with no side effects. Organizations should note that no patch release has been independently confirmed, so version-specific upgrade guidance cannot be provided at this time.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The vulnerable component is vms_fixfilename() in vim/src/os_vms.c, which is an OpenVMS-specific operating system abstraction layer responsible for normalizing and processing VMS-format filesystem paths and filenames. This source file is only compiled and executed when Vim runs on OpenVMS (VMS) platforms - Linux, macOS, and Windows Vim builds do not include this code path. CWE-94 (Improper Control of Generation of Code - Code Injection) identifies the root cause as insufficient validation or sanitization of filename input, allowing attacker-controlled data to influence code generation or execution flow within the function. The CVE references point directly to the upstream Vim GitHub repository and the specific source file, suggesting the vulnerability was identified through source code review rather than runtime fuzzing.

Know when N A 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

Vendor (mitre) PRIMARY 7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.8 HIGH

OpenVMS local access requires at minimum a basic OS account (PR:L); arbitrary code execution warrants A:H, which the reported vector incorrectly omits.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.8 HIGH

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

3
CVSS changed
Aug 05, 2026 - 20:22 NVD
7.7 (HIGH)
CVE Published
Aug 04, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 04, 2026 - 00:00 cve.org
HIGH 7.7

DescriptionCVE.org

An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vms_fixfilename() function within file vim/src/os_vms.c

Executive ViewAI

Why It Matters

Vim 9.2.0389 and earlier contain a vulnerability allowing local code execution on OpenVMS systems, primarily affecting organizations with legacy OpenVMS infrastructure; current exploitation risk is minimal with no active threats identified.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Implement restrictive local access controls limiting non-administrative shell access on affected systems, enable detailed audit logging to detect exploitation attempts, restrict administrative privileges where feasible, and establish ongoing monitoring of Vim security advisories for patch release.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Rare
VMS-specific code path; OpenVMS has negligible modern enterprise footprint
Data Quality
8 sources
Confidence: High
EUVD 🇯🇵JVN 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.2%
Patch available No
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

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

Attack Technique

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 N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Not-Affected
SLES15-SP6-CHOST-BYOS Not-Affected
SLES15-SP6-CHOST-BYOS-Aliyun Not-Affected
SLES15-SP6-CHOST-BYOS-Azure Not-Affected
SLES15-SP6-CHOST-BYOS-EC2 Not-Affected

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