CVE-2026-33412: Vim affected by Command injection via newline in glob()
Vulnerability summary
CVE-2026-33412 is a high (CVSS 7.3) vulnerability in vim. EPSS estimates a 0.97% chance of exploitation in the next 30 days, higher than 63.1% of scored vulnerabilities.
Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 25 · 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.97%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
Increase +0.10 pp
From 0.87% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
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.1.1230-2+deb13u1 | < 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