CVE-2026-33412
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.
How to fix
- vim vim9.2.0202 or later
- access.redhat.com/errata/RHSA-2026:6725
- access.redhat.com/errata/RHSA-2026:6617
- access.redhat.com/errata/RHSA-2026:12274
- access.redhat.com/errata/RHSA-2026:7239
- access.redhat.com/errata/RHSA-2026:15087
- access.redhat.com/errata/RHSA-2026:14773
- access.redhat.com/errata/RHSA-2026:10097
- access.redhat.com/errata/RHSA-2026:17596
- access.redhat.com/errata/RHSA-2026:8423
- access.redhat.com/errata/RHSA-2026:7243
- access.redhat.com/errata/RHSA-2026:6502
- access.redhat.com/errata/RHSA-2026:7711
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vim vim | v < 9.2.0202 | 9.2.0202 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.