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

- Severity: Medium 5.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-11-30)
- Published: 2026-03-24T19:43:07.219Z
- Modified: 2026-09-01T12:04:49.042Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- vim vim: < 9.2.0202; before 9.2.0202
- vim: no versions given (not affected: from 2:9.1.083-6.el10_1.3 before *; from 2:9.1.083-5.el10_0.2 before *; from 2:7.4.629-5.el6_10.3 before *; from 2:7.4.629-8.el7_9.1 before *; from 2:8.0.1763-22.el8_10.1 before *; from 2:8.0.1763-13.el8_2.1 before *; from 2:8.0.1763-15.el8_4.1 before *; from 2:8.0.1763-19.el8_6.5 before *; from 2:8.0.1763-20.el8_8.1 before *; from 2:8.2.2637-23.el9_7.2 before *; from 2:8.2.2637-16.el9_0.4 before *; from 2:8.2.2637-20.el9_2.1 before *)
- rhcos: no versions given (not affected: from 412.86.202604281506-0 before *; from 413.92.202604080111-0 before *; from 414.92.202605060243-0 before *; from 415.92.202605060220-0 before *; from 416.94.202604211449-0 before *; from 417.94.202605112123-0 before *; from 418.94.202604140044-0 before *; from 4.19.9.6.202604080618-0 before *)
- rhaiis/model-opt-cuda-rhel9: no versions given (not affected: from 1780681984 before *; from 1778244559 before *)
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1775740563 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1778244531 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1778244546 before *)
- insights-proxy/insights-proxy-container-rhel9: no versions given (not affected: from 1776868961 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1776868774 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1776868744 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1776868772 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1776868842 before *)
- rhui5/cds-kubernetes-tp-rhel9: no versions given (not affected: from 1777459441 before *)
- rhui5/installer-tp-rhel9: no versions given (not affected: from 1777454300 before *)
- rhui5/rhua-tp-rhel9: no versions given (not affected: from 1777459504 before *)

## Every score

- GitHub_M: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N`
- redhat-SADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vim/vim/security/advisories/GHSA-w5jw-f54h-x46c> (patch, vendor-advisory)
- <https://github.com/vim/vim/commit/645ed6597d1ea896c712cd7ddbb6edee79577e9a> (patch)
- <https://github.com/vim/vim/releases/tag/v9.2.0202> (product)
- <http://www.openwall.com/lists/oss-security/2026/03/19/10> (mailing-list, patch, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-33412> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2450907> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33412.json>
- <https://access.redhat.com/errata/RHSA-2026:6725> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6617> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:12274> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7239> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:15087> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:14773> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10097> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17596> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8423> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7243> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6502> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7711> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6915> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6730> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6729> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6731> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6736> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6619> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6620> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6540> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6539> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8259> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25096> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7335> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16008> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16009> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16174> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9832> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:11768> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10065> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-33412](https://www.cve.org/CVERecord?id=CVE-2026-33412), CVE Terms of Use, modified 2026-09-01
- NVD: [CVE-2026-33412](https://nvd.nist.gov/vuln/detail/CVE-2026-33412), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-33412 · Whole record: https://cve.day/CVE-2026-33412.json · Rebuilt by cve.day 2026-11-25T22:59:16.609Z
