CVE-2026-51401

vim: Vim: Arbitrary code execution via vms_fixfilename() function

Published Aug 4, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-77
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Title Local Arbitrary Code Execution via vms_fixfilename in Vim vim: Vim: Arbitrary code execution via vms_fixfilename() function
Weaknesses CWE-641
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Vim
Vim vim
Vendors & Products Vim
Vim vim
Type Values Removed Values Added
Title Local Arbitrary Code Execution via vms_fixfilename in Vim
Weaknesses CWE-77
CWE-94
Type Values Removed Values Added
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
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2026, 7:14 PM
Reserved
Jun 7, 2026, 12:00 AM
Status
Analyzed
Published
Aug 4, 2026, 9:16 PM
Modified
Oct 24, 2026, 4:10 PM
Severity
Important
Public date
Aug 4, 2026, 12:00 AM