CVE-2026-33412: vim OS Command Injection
Vulnerability summary
CVE-2026-33412 is a high (CVSS 7.3) OS Command Injection vulnerability in vim. EPSS estimates a 0.93% chance of exploitation in the next 30 days, higher than 59.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 23 · Related 11Timeline
- 24-03-2026PublishedVulnerability first disclosed.
- 01-09-2026Last modifiedVulnerability information updated.
Description
Vim is an open source, command line text editor. Prior to version 9.2.0202, a command injection vulnerability exists in Vim's glob() function on Unix-like systems. By including a newline character (\n) in a pattern passed to glob(), an attacker may be able to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting. This issue has been patched in version 9.2.0202.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA5.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/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:H
- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.93%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
+0.10 pp
From 0.83% 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 causeAffected systems
Redhat7 products
- vim< 2:7.4.629-5.el6_10.3
- vim-common< 2:7.4.629-5.el6_10.3
- vim-debuginfo< 2:7.4.629-5.el6_10.3
- vim-enhanced< 2:7.4.629-5.el6_10.3
- vim-filesystem< 2:7.4.629-5.el6_10.3
Alpine1 product
- vim< 9.2.0219-r0
Debian1 product
- vimAll versions (No fix recorded) | < 2:9.2.0218-1
Mageia1 product
- vim< 9.2.209-1.mga9
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm24 | < 2:7.4.1689-3ubuntu1.5+esm30 | < 2:8.0.1453-1ubuntu1.13+esm15 | < 2:8.1.2269-1ubuntu5.32+esm3 | < 2:8.2.3995-1ubuntu2.27 | < 2:9.1.0016-1ubuntu7.11 | < 2:9.1.0967-1ubuntu6.2
Vim1 product
- vim< 9.2.0202
6 vendors · 12 products
References
48 links- github.com/vim/vim/security/advisories/GHSA-w5jw-f54h-x46cX Refsource CONFIRMAdvisoryARTICLEREPORTPatchVendor Advisory