Vim <9.2.0202: glob() Command Injection on Unix
CVE-2026-33412 Published on March 24, 2026
Vim affected by Command injection via newline in glob()
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.
Vulnerability Analysis
CVE-2026-33412 is exploitable with local system access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2026-33412 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2026-33412
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-33412 are published in these products:
Affected Versions
vim:- Version < 9.2.0202 is affected.
- Version 2:9.1.083-6.el10_1.3 and below * is unaffected.
- Version 2:9.1.083-5.el10_0.2 and below * is unaffected.
- Version 2:7.4.629-5.el6_10.3 and below * is unaffected.
- Version 2:7.4.629-8.el7_9.1 and below * is unaffected.
- Version 2:8.0.1763-22.el8_10.1 and below * is unaffected.
- Version 2:8.0.1763-13.el8_2.1 and below * is unaffected.
- Version 2:8.0.1763-15.el8_4.1 and below * is unaffected.
- Version 2:8.0.1763-15.el8_4.1 and below * is unaffected.
- Version 2:8.0.1763-19.el8_6.5 and below * is unaffected.
- Version 2:8.0.1763-19.el8_6.5 and below * is unaffected.
- Version 2:8.0.1763-19.el8_6.5 and below * is unaffected.
- Version 2:8.0.1763-20.el8_8.1 and below * is unaffected.
- Version 2:8.0.1763-20.el8_8.1 and below * is unaffected.
- Version 2:8.2.2637-23.el9_7.2 and below * is unaffected.
- Version 2:8.2.2637-16.el9_0.4 and below * is unaffected.
- Version 2:8.2.2637-20.el9_2.1 and below * is unaffected.
- Version 2:8.2.2637-20.el9_4.2 and below * is unaffected.
- Version 2:8.2.2637-22.el9_6.2 and below * is unaffected.
- Version 412.86.202604281506-0 and below * is unaffected.
- Version 413.92.202604080111-0 and below * is unaffected.
- Version 414.92.202605060243-0 and below * is unaffected.
- Version 415.92.202605060220-0 and below * is unaffected.
- Version 416.94.202604211449-0 and below * is unaffected.
- Version 417.94.202605112123-0 and below * is unaffected.
- Version 418.94.202604140044-0 and below * is unaffected.
- Version 4.19.9.6.202604080618-0 and below * is unaffected.
- Version 1780681984 and below * is unaffected.
- Version 1775740563 and below * is unaffected.
- Version 1778244559 and below * is unaffected.
- Version 1778244531 and below * is unaffected.
- Version 1778244546 and below * is unaffected.
- Version 1776868961 and below * is unaffected.
- Version 1776868774 and below * is unaffected.
- Version 1776868744 and below * is unaffected.
- Version 1776868772 and below * is unaffected.
- Version 1776868842 and below * is unaffected.
- Version 1777459441 and below * is unaffected.
- Version 1777454300 and below * is unaffected.
- Version 1777459504 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.