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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-24 · Modified: 2026-09-01
- Aliases: ALPINE-CVE-2026-33412, MGASA-2026-0062, RHSA-2026:6725, UBUNTU-CVE-2026-33412, DEBIAN-CVE-2026-33412
- Record: https://cvemate.com/vulnerability/CVE-2026-33412 · JSON: https://cvemate.com/vulnerability/CVE-2026-33412/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.972%, percentile 63.14%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): \< 9.2.0219-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0218-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm24 \| \< 2:7.4.1689-3ubuntu1.5+esm30 \| \< 2:8.0.1453-1ubuntu1.13+esm15 \| \< 2:8.1.2269-1ubuntu5.32+esm3 \| \< 2:8.2.3995-1ubuntu2.27 \| \< 2:9.1.0016-1ubuntu7.11 \| \< 2:9.1.0967-1ubuntu6.2
- mageia vim (Mageia): \< 9.2.209-1.mga9
- redhat vim (Red Hat): \< 2:7.4.629-5.el6\_10.3
- redhat vim-common (Red Hat): \< 2:7.4.629-5.el6\_10.3
- redhat vim-debuginfo (Red Hat): \< 2:7.4.629-5.el6\_10.3
- redhat vim-enhanced (Red Hat): \< 2:7.4.629-5.el6\_10.3
- redhat vim-filesystem (Red Hat): \< 2:7.4.629-5.el6\_10.3
- redhat vim-minimal (Red Hat): \< 2:7.4.629-5.el6\_10.3
- redhat vim-X11 (Red Hat): \< 2:7.4.629-5.el6\_10.3
- vim vim: \< 9.2.0202

## References (first 20 of 48)

- <https://github.com/vim/vim/security/advisories/GHSA-w5jw-f54h-x46c>
- <https://github.com/vim/vim/commit/645ed6597d1ea896c712cd7ddbb6edee79577e9a>
- <https://github.com/vim/vim/releases/tag/v9.2.0202>
- <http://www.openwall.com/lists/oss-security/2026/03/19/10>
- <https://access.redhat.com/security/cve/CVE-2026-33412>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2450907>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33412.json>
- <https://access.redhat.com/errata/RHSA-2026:6725>
- <https://access.redhat.com/errata/RHSA-2026:6617>
- <https://access.redhat.com/errata/RHSA-2026:12274>
- <https://access.redhat.com/errata/RHSA-2026:7239>
- <https://access.redhat.com/errata/RHSA-2026:15087>
- <https://access.redhat.com/errata/RHSA-2026:14773>
- <https://access.redhat.com/errata/RHSA-2026:10097>
- <https://access.redhat.com/errata/RHSA-2026:17596>
- <https://access.redhat.com/errata/RHSA-2026:8423>
- <https://access.redhat.com/errata/RHSA-2026:7243>
- <https://access.redhat.com/errata/RHSA-2026:6502>
- <https://access.redhat.com/errata/RHSA-2026:7711>
- <https://access.redhat.com/errata/RHSA-2026:6915>

---

Data as of 2026-12-05T04:12:08.329Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
