Code Injection in Vim - CVE-2026-73073

 

Code Injection in Vim - CVE-2026-73073

Published: July 27, 2026 / Updated: August 19, 2026


Vulnerability identifier: #VU139390
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-73073
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation within the C omni-completion script in runtime/autoload/ccomplete.vim. A remote attacker can trick a victim to open a specially crafted file and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Vim
Ubuntu
openEuler
vim (Ubuntu package)
vim
vim-X11
vim-common
vim-debuginfo
vim-debugsource
vim-enhanced
vim-minimal
vim-filesystem

How to mitigate CVE-2026-73073

Install updates from vendor's website.

Vim - update to 9.2.0845
vim (Ubuntu package) - addressed in versions 2:7.4.052-1ubuntu3.1+esm33, 2:7.4.1689-3ubuntu1.5+esm39, 2:8.0.1453-1ubuntu1.13+esm24, 2:8.1.2269-1ubuntu5.32+esm13, 2:8.2.3995-1ubuntu2.36, 2:9.1.0016-1ubuntu7.20
vim - update to 9.0.2092-45
vim-X11 - update to 9.0.2092-45
vim-common - update to 9.0.2092-45
vim-debuginfo - update to 9.0.2092-45
vim-debugsource - update to 9.0.2092-45
vim-enhanced - update to 9.0.2092-45
vim-minimal - update to 9.0.2092-45
vim-filesystem - update to 9.0.2092-45

External References

Related Security Bulletins