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.
History

Tue, 24 Mar 2026 21:30:00 +0000

Type Values Removed Values Added
References

Tue, 24 Mar 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Vim affected by Command injection via newline in glob()
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-24T20:16:21.339Z

Reserved: 2026-03-19T17:02:34.171Z

Link: CVE-2026-33412

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-24T20:16:29.740

Modified: 2026-03-24T21:16:29.003

Link: CVE-2026-33412

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.