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.
Problem types
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
References
www.openwall.com/lists/oss-security/2026/03/19/10
github.com/vim/vim/security/advisories/GHSA-w5jw-f54h-x46c
github.com/...ommit/645ed6597d1ea896c712cd7ddbb6edee79577e9a
github.com/vim/vim/releases/tag/v9.2.0202