---
title: "CVE-2026-51401\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-51401?format=md
keywords: index, follow
---

# CVE-2026-51401

Publication date 4 August 2026

Last updated 11 August 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.7 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2026-51401?format=md#impact-score)

Toggle side navigation

## 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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2026-51401?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| vim | 26.04 LTS resolute | Vulnerable, fix deferred |
| 24.04 LTS noble | Vulnerable, fix deferred |
| 22.04 LTS jammy | Vulnerable, fix deferred |
| 20.04 LTS focal | Vulnerable, fix deferred |
| 18.04 LTS bionic | Vulnerable, fix deferred |
| 16.04 LTS xenial | Vulnerable, fix deferred |
| 14.04 LTS trusty | Vulnerable, fix deferred |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [kkernick](https://launchpad.net/~kkernick)

This vulnerability appears to be AI-generated, with no fix in the specified release,
and does not appear to have been disclosed to upstream.

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.7 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.7 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-51401)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-51401)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-51401)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-51401)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-51401>
* <https://gist.github.com/jiejiaodedengdai/ff5d34a523167e09b7d8330cc9f5d4e5#file-vim-os_vms-cves-md>
* <https://github.com/vim/vim>
* <https://github.com/vim/vim/blob/master/src/os_vms.c>
