cve.bz

CVE-2026-33412 vim vim: OS Command Injection

7.3 highEPSS 1.0%Fix available

High (7.3) in vim vim. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
1.0% (unchanged from 0.9% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-03-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33412 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33412?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33412?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33412 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vim:vimbefore 9.2.0202

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12vimno fix listedDEBIAN-CVE-2026-33412
Debian13vim2:9.1.1230-2+deb13u1DEBIAN-CVE-2026-33412 DSA-6600-1
Debian14vim2:9.2.0218-1DEBIAN-CVE-2026-33412
Ubuntu22.04:LTSvim2:8.2.3995-1ubuntu2.27UBUNTU-CVE-2026-33412
Ubuntu24.04:LTSvim2:9.1.0016-1ubuntu7.11UBUNTU-CVE-2026-33412
Ubuntu25.10vim2:9.1.0967-1ubuntu6.2UBUNTU-CVE-2026-33412
UbuntuPro:14.04:LTSvim2:7.4.052-1ubuntu3.1+esm24UBUNTU-CVE-2026-33412
UbuntuPro:16.04:LTSvim2:7.4.1689-3ubuntu1.5+esm30UBUNTU-CVE-2026-33412
UbuntuPro:18.04:LTSvim2:8.0.1453-1ubuntu1.13+esm15UBUNTU-CVE-2026-33412
UbuntuPro:20.04:LTSvim2:8.1.2269-1ubuntu5.32+esm3UBUNTU-CVE-2026-33412
Red Hatenterprise_linux:8::appstreamvim-X11, vim-common, vim-enhanced2:8.0.1763-22.el8_10.1RHSA-2026:6915
Red Hatenterprise_linux:8::baseosvim2:8.0.1763-22.el8_10.1RHSA-2026:6915
Red Hatenterprise_linux:9::appstreamvim-X11, vim-common, vim-enhanced2:8.2.2637-23.el9_7.2RHSA-2026:8259
Red Hatenterprise_linux:9::baseosvim, vim-minimal2:8.2.2637-23.el9_7.2RHSA-2026:8259
Red Hatenterprise_linux:10.1vim, vim-X11, vim-common and 2 more2:9.1.083-6.el10_1.3RHSA-2026:7711
Red Hatenterprise_linux_eus:10.0vim, xxd, vim-X11 and 11 more2:9.1.083-5.el10_0.2RHSA-2026:6502
Red Hatrhel_aus:8.2::appstreamvim-X11, vim-common, vim-enhanced and 7 more2:8.0.1763-13.el8_2.1RHSA-2026:6730
Red Hatrhel_aus:8.2::baseosvim, vim-minimal, vim-debuginfo and 5 more2:8.0.1763-13.el8_2.1RHSA-2026:6730
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamvim-X11, vim-common, vim-enhanced and 7 more2:8.0.1763-15.el8_4.1RHSA-2026:6729
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosvim, vim-minimal, vim-debuginfo and 5 more2:8.0.1763-15.el8_4.1RHSA-2026:6729
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamvim-X11, vim-common, vim-enhanced and 7 more2:8.0.1763-19.el8_6.5RHSA-2026:6731
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseosvim, vim-minimal, vim-debuginfo and 5 more2:8.0.1763-19.el8_6.5RHSA-2026:6731
12 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.2 and 4 morevim9.2.0280-150000.5.89.1SUSE-SU-2026:1387-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 6 morevim9.2.0280-150500.20.46.1SUSE-SU-2026:1607-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5vim9.2.0280-17.62.1SUSE-SU-2026:1347-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0vim9.2.0280-160000.1.1SUSE-SU-2026:21197-1
SUSELinux Micro 6.0vim9.2.0280-1.1SUSE-SU-2026:21124-1
SUSELinux Micro 6.1vim9.2.0280-slfo.1.1_1.1SUSE-SU-2026:21118-1
SUSELinux Micro 6.2vim9.2.0280-160000.1.1SUSE-SU-2026:21134-1
SUSELinux Micro Extras 6.2vim9.2.0280-160000.1.1SUSE-SU-2026:21136-1
openSUSELeap 15.6vim9.2.0280-150500.20.46.1SUSE-SU-2026:1607-1
openSUSELeap 16.0vim9.2.0280-160000.1.1openSUSE-SU-2026:20540-1
openSUSETumbleweedvim9.2.0398-1.1openSUSE-SU-2026:10652-1
AlmaLinux8vim-X11, vim-common, vim-minimal and 2 more2:8.0.1763-22.el8_10.1ALSA-2026:6915
AlmaLinux9vim-X11, vim-common, vim-minimal and 2 more2:8.2.2637-23.el9_7.2ALSA-2026:8259
AlmaLinux10vim-data, vim-filesystem2:9.1.083-6.el10_1.3ALSA-2026:7711
Rocky Linux8vim2:8.0.1763-22.el8_10.1RLSA-2026:6915
Rocky Linux9vim2:8.2.2637-23.el9_7.2RLSA-2026:8259
Rocky Linux10vim2:9.1.083-6.el10_1.3RLSA-2026:7711
Alpinev3.23, v3.24vim9.2.0219-r0ALPINE-CVE-2026-33412
Azure Linux3vim9.2.0240-1AZL-80532
Alpaquita23, 25, streamvim9.2.0219-r0BELL-CVE-2026-33412

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A command injection flaw was found in Vim's glob() function, which Red Hat Product Security has classified as having IMPORTANT impact. On Unix-like systems, an attacker who can control a pattern passed to glob() can include a newline character in the pattern, which may allow arbitrary shell commands to be executed with the privileges of the user running Vim, depending on the user's 'shell' setting. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, score 7.3) indicates that exploitation requires local access, low privileges, and user interaction, and that a successful attack compromises the confidentiality, integrity, and availability of data accessible to the affected user. The Red Hat severity matches the NIST and upstream CVEORG ratings, so there is no difference from the upstream assessment. The vim component is affected in Red Hat Enterprise Linux (including Extended Lifecycle Support releases), in the Red Hat CoreOS container images shipped with OpenShift Container Platform 4, in Ansible Automation Platform, and in Fedora. A fix is being pursued for these affected products.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10vim-2:9.1.083-6.el10_1.3Fixed 2026-04-13RHSA-2026:7711
Red Hat Enterprise Linux 10.0 Extended Update Supportvim-2:9.1.083-5.el10_0.2Fixed 2026-04-02RHSA-2026:6502
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONvim-2:7.4.629-5.el6_10.3Fixed 2026-04-07RHSA-2026:6725
Red Hat Enterprise Linux 7 Extended Lifecycle Supportvim-2:7.4.629-8.el7_9.1Fixed 2026-04-06RHSA-2026:6617
Red Hat Enterprise Linux 8vim-2:8.0.1763-22.el8_10.1Fixed 2026-04-07RHSA-2026:6915
Red Hat Enterprise Linux 8.2 Advanced Update Supportvim-2:8.0.1763-13.el8_2.1Fixed 2026-04-07RHSA-2026:6730
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportvim-2:8.0.1763-15.el8_4.1Fixed 2026-04-07RHSA-2026:6729
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onvim-2:8.0.1763-15.el8_4.1Fixed 2026-04-07RHSA-2026:6729
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportvim-2:8.0.1763-19.el8_6.5Fixed 2026-04-07RHSA-2026:6731
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicevim-2:8.0.1763-19.el8_6.5Fixed 2026-04-07RHSA-2026:6731
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsvim-2:8.0.1763-19.el8_6.5Fixed 2026-04-07RHSA-2026:6731
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicevim-2:8.0.1763-20.el8_8.1Fixed 2026-04-07RHSA-2026:6736
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsvim-2:8.0.1763-20.el8_8.1Fixed 2026-04-07RHSA-2026:6736
Red Hat Enterprise Linux 9vim-2:8.2.2637-23.el9_7.2Fixed 2026-04-15RHSA-2026:8259
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsvim-2:8.2.2637-16.el9_0.4Fixed 2026-04-06RHSA-2026:6619
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsvim-2:8.2.2637-20.el9_2.1Fixed 2026-04-06RHSA-2026:6620
Red Hat Enterprise Linux 9.4 Extended Update Supportvim-2:8.2.2637-20.el9_4.2Fixed 2026-04-02RHSA-2026:6540
Red Hat Enterprise Linux 9.6 Extended Update Supportvim-2:8.2.2637-22.el9_6.2Fixed 2026-04-02RHSA-2026:6539
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202604281506-0Fixed 2026-05-08RHSA-2026:12274
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202604080111-0Fixed 2026-04-16RHSA-2026:7239
19 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-33412.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON