CVE-2026-51401
Received Received - Intake

Heap-based Buffer Overflow in Vim Text Editor

Vulnerability report for CVE-2026-51401, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-04

Last updated on: 2026-08-05

Assigner: MITRE

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-04
Last Modified
2026-08-05
Generated
2026-08-25
AI Q&A
2026-08-05
EPSS Evaluated
2026-08-24
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
vim_project vim to 9.2.0389 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in Vim Project version 9.2.0389 and earlier. It allows a local attacker to execute arbitrary code through a flaw in the vms_fixfilename() function located in the file vim/src/os_vms.c.

Detection Guidance

This vulnerability is specific to Vim Project v9.2.0389 and earlier. To detect it, check your Vim version using the command 'vim --version'. If the version is 9.2.0389 or older, the system is vulnerable. No network detection commands are applicable as this is a local code execution issue.

Impact Analysis

If exploited, this vulnerability could allow an attacker with local access to run malicious code on your system. This could lead to unauthorized data access, system compromise, or further attacks depending on the attacker's goals.

Compliance Impact

The provided CVE data does not specify how this vulnerability impacts compliance with standards like GDPR or HIPAA. The issue involves arbitrary code execution via a local attack vector, but no details are given about data exposure, privacy risks, or regulatory implications.

Mitigation Strategies

Update Vim to a version later than v9.2.0389 to address the arbitrary code execution vulnerability in vms_fixfilename().

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-51401. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart