CVE-2026-51401: Code Injection
Published Aug 4, 2026
·Updated
An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vmsfixfilename() function within file vim/src/osvms.c
Affected Software
2 affected components
Vim Project Vim<=9.2.0389
vim Vim<=9.2.0389
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Vim Projectto a version that resolves this vulnerability.Fixed in 9.2.0389
Event History
Aug 4, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software
Frequently Asked Questions
1
What is the severity of CVE-2026-51401?
The severity of CVE-2026-51401 is rated as risk 44.
2
How do I fix CVE-2026-51401?
To fix CVE-2026-51401, update Vim Project to version 9.2.0390 or later.
3
What impact does CVE-2026-51401 have on systems running Vim?
CVE-2026-51401 allows a local attacker to execute arbitrary code, potentially compromising system security.
4
Who is affected by CVE-2026-51401?
Users of Vim Project version 9.2.0389 and earlier are affected by CVE-2026-51401.
5
What vulnerability does CVE-2026-51401 exploit?
CVE-2026-51401 exploits a weakness in the vms_fixfilename() function within the file vim/src/os_vms.c.