CVE-2026-73073: vim Code Injection
Vulnerability summary
CVE-2026-73073 is a high (CVSS 7.8) Code Injection vulnerability in vim. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 18-08-2026PublishedVulnerability first disclosed.
- 18-08-2026Last modifiedVulnerability information updated.
Description
Vim is an open source, command line text editor. Prior to 9.2.0845, StructMembers() in runtime/autoload/ccomplete.vim constructs and executes a vimgrep command using an insufficiently escaped typeref: or typename: value from a tags file, allowing an unterminated collection followed by a command separator to execute arbitrary Ex and operating-system commands when a user invokes C omni-completion with CTRL-X CTRL-O on a member access whose type is resolved from that tags file. This issue is fixed in version 9.2.0845.
CVSS metrics
8 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST7.1HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
+0.01 pp
From 0.15% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-829Inclusion of Functionality from Untrusted Control SphereThe product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Affected systems
Redhat2 products
- vim< 2:8.2.2637-26.el9_8.23 | < 2:9.1.083-9.el10_2.22 | < 2:8.0.1763-32.el8_10
- vim-common< 2:8.2.2637-26.el9_8.23 | < 2:9.1.083-9.el10_2.22 | < 2:8.0.1763-32.el8_10
Alpine1 product
- vim< 9.2.0854-r0
Debian1 product
- vimAll versions (No fix recorded) | < 2:9.2.0858-1
Ubuntu1 product
- vim< 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 | < 2:9.1.2141-1ubuntu4.9
Vim1 product
- vim< 9.2.0845
5 vendors · 6 products
References
19 links- github.com/vim/vim/security/advisories/GHSA-cx73-phcg-3j5gX Refsource CONFIRMARTICLEPatchVendor Advisory