CVE-2026-33412: Vim affected by Command injection via newline in glob()

Published Mar 24, 2026
·
Updated

Vim affected by Command injection via newline in glob()

Other sources

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.

MITRE

Affected Software

5 affected componentsFixes available
vim Vim<9.2.0202
vim Vim<9.2.0202
Microsoft azl3 vim 9.2.0088-1
Microsoft cbl2 vim 9.2.0088-1
IBM QRadar<=7.5.0 - 7.5.0 UP15 IF02

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vim (glob() on Unix-like systems) to a version that resolves this vulnerability.

    Fixed in 9.2.0202

Event History

Mar 24, 2026
CVE Published
via MITRE·07:43 PM
Data Sourced
via MITRE·07:43 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 26, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
May 25, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33412?

CVE-2026-33412 is classified as a high-severity command injection vulnerability.

2

How do I fix CVE-2026-33412?

To fix CVE-2026-33412, update Vim to version 9.2.0202 or later.

3

Who is affected by CVE-2026-33412?

CVE-2026-33412 affects users of Vim prior to version 9.2.0202 on Unix-like systems.

4

What type of vulnerability is CVE-2026-33412?

CVE-2026-33412 is a command injection vulnerability that allows attackers to execute arbitrary commands.

5

What can an attacker achieve with CVE-2026-33412?

An attacker can exploit CVE-2026-33412 to inject and execute malicious commands through specially crafted patterns.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203