CVE-2026-51400
Received Received - Intake

Heap Buffer Overflow in Vim Project

Vulnerability report for CVE-2026-51400, 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-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a local code execution flaw in Vim Project version 9.2.0389 and earlier. It occurs due to an issue in the vms_fixfilename() function within the file vim/src/os_vms.c, allowing a local attacker to run arbitrary code on the affected system.

Detection Guidance

This vulnerability is specific to Vim Project v9.2.0389 and earlier and involves a local attacker exploiting the vms_fixfilename() function. Detection requires checking the installed Vim version and examining the source code for the affected function. No direct network detection commands are applicable as this is a local code execution issue.

Impact Analysis

If exploited, this vulnerability could let an attacker execute malicious code on your system. This may lead to unauthorized access, data theft, or further compromise of the affected machine.

Compliance Impact

The provided CVE data does not specify any direct impact on compliance with standards like GDPR or HIPAA. The vulnerability involves local code execution via a specific function in Vim, which may pose indirect risks if exploited to access sensitive data or systems subject to these regulations.

Mitigation Strategies

Update Vim to a version later than v9.2.0389 to remove the vulnerable code path. If updating is not immediately possible, restrict access to the vulnerable system and monitor for suspicious activity.

Chat Assistant

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

EPSS Chart