Skip to main content

Vim CVE-2026-51400

| EUVDEUVD-2026-52971 HIGH
Memory Leak (CWE-401)
2026-08-04 mitre GHSA-c4x9-mpg2-r897
8.4
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain local login on OpenVMS host
  2. Delivery
    Craft malicious filename input
  3. Exploit
    Invoke Vim to process crafted path
  4. Execution
    Trigger memory mismanagement in vms_fixfilename()
  5. Impact
    Exploit heap condition for code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires local access to an OpenVMS system with Vim v9.2.0389 or earlier installed - this is a hard platform prerequisite, as the vulnerable code path (os_vms.c) exists only in OpenVMS builds of Vim. The attacker must be able to cause Vim to process a filename through the vms_fixfilename() routine, which is triggered during normal file operations on VMS. No authentication privileges above a standard logged-in user account appear to be required per the PR:N CVSS assignment. Exploitation is limited by: (1) requiring physical or remote login access to an OpenVMS host, (2) the extreme rarity of production OpenVMS deployments, (3) the complexity of turning a CWE-401 memory leak into reliable RCE. Non-OpenVMS Vim deployments are entirely unaffected.

Impact

The CVSS base score of 8.4 (High) with vector AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H presents a potentially misleading priority signal. The local attack vector (AV:L) meaningfully constrains the threat - an attacker must have local system access on an OpenVMS host. The PR:N assignment warrants scrutiny: on OpenVMS, 'no privileges required' plausibly means any logged-in user can trigger the flaw without elevated rights, which is consistent. However, the assigned AC:L (low complexity) conflicts with the underlying CWE-401 class: exploiting a memory leak for arbitrary code execution is typically a high-complexity operation requiring precise heap feng-shui or additional primitives. The EPSS score of 0.15% at the 4th percentile strongly corroborates that real-world exploitation is not occurring. No KEV listing, no confirmed POC, and the niche OpenVMS platform collectively make this a low operational priority despite the headline CVSS score. Security teams should triage this well below network-facing, high-EPSS vulnerabilities.

Exploit ScenarioDerived

A local user logged into an OpenVMS server - such as a shared legacy system in a banking or industrial environment - opens or processes a file with a specially crafted filename in Vim, triggering the defective vms_fixfilename() memory-management path. By manipulating heap memory through the memory leak condition, the attacker achieves code execution under the Vim process context. No public proof-of-concept has been confirmed; the path from CWE-401 to reliable RCE would require non-trivial heap exploitation, making opportunistic exploitation unlikely.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% 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 execution affects Vim v9.2.0389 and earlier through a memory management flaw in the OpenVMS-specific vms_fixfilename() function in vim/src/os_vms.c. A local attacker on an OpenVMS system can trigger this CWE-401 condition to achieve full code execution with high confidentiality, integrity, and availability impact. No public exploit confirmed at time of analysis, and the extremely low EPSS score (0.15%, 4th percentile) combined with the platform-specific attack surface indicates minimal real-world exploitation risk.

RemediationAI

Upgrade Vim to a version beyond 9.2.0389 once a patched release is issued by the Vim project; no vendor-released patched version is independently confirmed at the time of this analysis - the only reference is a researcher GitHub gist, not an official Vim advisory or tagged release. Organizations running Vim on OpenVMS should monitor the upstream Vim repository and the Vim project mailing list for a fix. As a compensating control, restrict interactive and scripted access to OpenVMS systems running the affected Vim version by limiting local login accounts and applying OpenVMS access control lists (ACLs) to prevent untrusted users from invoking Vim in contexts that process externally supplied filenames. Because the vulnerability is in a VMS-specific filename-handling routine, avoiding use of Vim for processing untrusted or externally sourced file paths on OpenVMS reduces exposure until a patch is available.

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 vulnerability resides in os_vms.c, a platform-specific source file implementing OpenVMS filesystem support for the Vim text editor. The affected function vms_fixfilename() handles filename canonicalization on the VMS operating system (OpenVMS, originally from DEC/Compaq/HP/VSI). CWE-401 ('Missing Release of Memory after Effective Lifetime') classifies this as a memory leak - allocated memory is not properly freed. While memory leaks most directly cause resource exhaustion, certain patterns involving use-after-free or heap layout manipulation can be exploited for code execution, though this path is significantly more complex than direct buffer overflows. The CPE data provided is non-informative (cpe:2.3:a:n/a:n/a), and no official vendor CPE string is available. The vulnerability is exclusive to Vim installations on OpenVMS; standard Linux/macOS/Windows Vim builds do not compile os_vms.c.

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 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local access to an OpenVMS login required (PR:L); memory-leak-to-RCE chain is inherently high-complexity (AC:H), not AC:L as originally scored.

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

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
High

Lifecycle Timeline

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

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

A memory management vulnerability in Vim v9.2.0389 and earlier affects OpenVMS systems, allowing local attackers with system access to execute arbitrary code with high severity (CVSS 8.4). The vulnerability presents minimal real-world risk due to its extremely low exploitation probability (EPSS 0.1%), platform-specific impact limited to OpenVMS, and requirement for local system access.

Business Impact: Low
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting local user access to affected Vim installations, enforcing principle of least privilege on OpenVMS systems, disabling Vim functionality where operationally feasible, implementing process execution monitoring, and maintaining current system access logs for audit purposes.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
VMS-specific Vim code; OpenVMS is an extremely niche legacy OS
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.1%
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
Low
Technical Impact
Total

Priority Score

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

Attack Technique

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