Skip to content
Fencer Vulns
high 7.8

CVE-2026-73077 json

Vim: Arbitrary Code Execution via Shell Keyword Lookup

published 2026-08-11 2 mo ago modified 2026-10-06 33 d ago also EUVD-2026-56233

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 3%
public exploits
0
none known

Summary

Vim is an open source, command line text editor. Prior to 9.2.0839, the runtime/ftplugin/sh.vim, runtime/ftplugin/zsh.vim, and runtime/ftplugin/ps1.vim filetype plugins pass attacker-controlled Visual-mode selections from K through keywordprg commands without safely separating shell arguments. fnameescape() and PATH_ESC_CHARS do not neutralize shell metacharacters before ShKeywordPrg, ZshKeywordPrg, or GetHelp invokes bash, zsh, or PowerShell, allowing arbitrary operating-system commands to execute with the privileges of the user running Vim. This issue is fixed in version 9.2.0839.

Patch / fix

  • vim vim 9.2.0839
  • vim Debian 13 2:9.1.1230-2+deb13u1
  • vim Debian 14 2:9.2.0858-1

debian advisories DEBIAN-CVE-2026-73077

  • vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.35
  • vim Ubuntu 24.04 LTS 2:9.1.0016-1ubuntu7.19
  • vim Ubuntu 26.04 LTS 2:9.1.2141-1ubuntu4.8

ubuntu advisories UBUNTU-CVE-2026-73077

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • vim RHEL 9 2:8.2.2637-26.el9_8.21
  • vim-X11 RHEL 9 2:8.2.2637-26.el9_8.21
  • vim-common RHEL 9 2:8.2.2637-26.el9_8.21
  • vim-enhanced RHEL 9 2:8.2.2637-26.el9_8.21
  • vim RHEL 10.2 2:9.1.083-9.el10_2.20
  • vim-X11 RHEL 10.2 2:9.1.083-9.el10_2.20
  • vim-common RHEL 10.2 2:9.1.083-9.el10_2.20
  • vim-enhanced RHEL 10.2 2:9.1.083-9.el10_2.20

red hat advisories RHSA-2026:72465RHSA-2026:72466RHSA-2026:70818RHSA-2026:66366RHSA-2026:66336

  • vim Linux Micro 6.0 9.2.0957-1.1
  • vim SLES 16.0, Linux Micro Extras 6.2, Linux Micro 6.2 +1 more 9.2.0957-160000.1.1
  • vim SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES 15 SP6-LTSS +6 more 9.2.0957-150500.20.64.1
  • vim SLE Micro 5.4, SLE Micro 5.3 9.2.0957-150000.5.102.1
  • vim Linux Micro 6.1 9.2.0957-slfo.1.1_1.1
  • vim SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.2.0957-17.76.1

suse advisories SUSE-SU-2026:23365-1SUSE-SU-2026:23393-1SUSE-SU-2026:23552-1SUSE-SU-2026:23391-1SUSE-SU-2026:3680-1SUSE-SU-2026:3679-1

  • vim openSUSE Leap 16.0 9.2.0957-160000.1.1

opensuse advisories openSUSE-SU-2026:21671-1

  • xxd AlmaLinux 10 2:9.1.083-9.el10_2.20
  • vim-X11 AlmaLinux 10 2:9.1.083-9.el10_2.20
  • vim-data AlmaLinux 10 2:9.1.083-9.el10_2.20
  • vim-common AlmaLinux 10 2:9.1.083-9.el10_2.20
  • vim-minimal AlmaLinux 10 2:9.1.083-9.el10_2.20
  • vim-enhanced AlmaLinux 10 2:9.1.083-9.el10_2.20
  • vim-filesystem AlmaLinux 10 2:9.1.083-9.el10_2.20
  • vim-X11 AlmaLinux 9 2:8.2.2637-26.el9_8.21

almalinux advisories ALSA-2026:66336ALSA-2026:66366

  • vim Rocky Linux 10 2:9.1.083-9.el10_2.20
  • vim Rocky Linux 9 2:8.2.2637-26.el9_8.21

rocky linux advisories RLSA-2026:66336RLSA-2026:66366

  • vim Alpine 3.23 9.2.0854-r0
  • vim Alpine 3.24 9.2.0843-r0

alpine advisories ALPINE-CVE-2026-73077

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • vim Azure Linux 3.0 9.2.0957-1

azure linux advisories AZL-95559

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-73077 updated cvss 7.3

vim: Vim: Arbitrary Code Execution via Insecure Shell Command Handling

  • Red Hat AI Inference Server 3.2 rhaiis/vllm-cuda-rhel9 1790621718, rhaiis/vllm-rocm-rhel9 1790621713, rhaiis/model-opt-cuda-rhel9 1790621714
    fixed: vendor fix RHSA-2026:73859
  • Red Hat AI Inference Server 3.5 rhaii/vllm-cpu-rhel9 1791473614, rhaii/vllm-cuda-rhel9 1791473631, rhaii/vllm-rocm-rhel9 1791425869, rhaii/vllm-gaudi-rhel9 1791427182, rhaii/vllm-spyre-rhel9 1791818357, rhaii/model-opt-cuda-rhel9 1791803821
    fixed: vendor fix RHSA-2026:82066
  • Red Hat Enterprise Linux AI 3.5 rhelai3/bootc-cuda-rhel9 1793135861, rhelai3/bootc-rocm-rhel9 1793135863, rhelai3/bootc-aws-cuda-rhel9 1793194817, rhelai3/bootc-gcp-cuda-rhel9 1793194815, rhelai3/disk-image-cuda-rhel9 1793206758, rhelai3/bootc-azure-cuda-rhel9 1793194815, +1 more
    fixed: vendor fix RHSA-2026:92452
  • Red Hat Enterprise Linux AppStream (v. 9) vim-common 8.2.2637-26.el9_8.21
    fixed: vendor fix RHSA-2026:66366
  • Red Hat Enterprise Linux AppStream (v. 10) vim-common 9.1.083-9.el10_2.20
    fixed: vendor fix RHSA-2026:66336
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) vim-X11 8.2.2637-20.el9_2.3, vim-common 8.2.2637-20.el9_2.3, vim-enhanced 8.2.2637-20.el9_2.3
    fixed: vendor fix RHSA-2026:72466
  • Red Hat Enterprise Linux AppStream E4S (v.9.4) vim-X11 8.2.2637-20.el9_4.4, vim-common 8.2.2637-20.el9_4.4, vim-enhanced 8.2.2637-20.el9_4.4
    fixed: vendor fix RHSA-2026:72465
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) vim-X11 8.2.2637-22.el9_6.4, vim-common 8.2.2637-22.el9_6.4, vim-enhanced 8.2.2637-22.el9_6.4
    fixed: vendor fix RHSA-2026:70818
show 12 more
  • Red Hat Enterprise Linux BaseOS (v. 9) vim 8.2.2637-26.el9_8.21
    fixed: vendor fix RHSA-2026:66366
  • Red Hat Enterprise Linux BaseOS (v. 10) vim 9.1.083-9.el10_2.20
    fixed: vendor fix RHSA-2026:66336
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) vim 8.2.2637-20.el9_2.3, vim-minimal 8.2.2637-20.el9_2.3, vim-filesystem 8.2.2637-20.el9_2.3
    fixed: vendor fix RHSA-2026:72466
  • Red Hat Enterprise Linux BaseOS E4S (v.9.4) vim 8.2.2637-20.el9_4.4, vim-minimal 8.2.2637-20.el9_4.4, vim-filesystem 8.2.2637-20.el9_4.4
    fixed: vendor fix RHSA-2026:72465
  • Red Hat Enterprise Linux BaseOS EUS (v.9.6) vim 8.2.2637-22.el9_6.4, vim-minimal 8.2.2637-22.el9_6.4, vim-filesystem 8.2.2637-22.el9_6.4
    fixed: vendor fix RHSA-2026:70818
  • Red Hat OpenShift AI 3.0 rhai/base-image-cpu-rhel9 1790277045, rhai/base-image-tpu-rhel9 1790276884, rhai/base-image-cuda-rhel9 1790276974, rhai/base-image-rocm-rhel9 1790276886, rhai/base-image-spyre-rhel9 1790276889
    fixed: vendor fix RHSA-2026:73960
  • Red Hat OpenShift AI 3.2 rhai/base-image-cpu-rhel9 1790703590, rhai/base-image-tpu-rhel9 1790703497, rhai/base-image-cuda-rhel9 1790703586, rhai/base-image-rocm-rhel9 1790703494, rhai/base-image-rocm-rhel9 1790703506, rhai/base-image-spyre-rhel9 1790703568
    fixed: vendor fix RHSA-2026:74460
  • Red Hat OpenShift AI 3.3 rhai/base-image-cpu-rhel9 1790703615, rhai/base-image-tpu-rhel9 1790703516, rhai/base-image-spyre-rhel9 1790703579, rhai/base-image-neuron-rhel9 1790703516, rhai/base-image-rocm-6.4-rhel9 1790703524, rhai/base-image-rocm-7.0-rhel9 1790703516, +4 more
    fixed: vendor fix RHSA-2026:74359
  • Red Hat OpenShift AI 3.4 rhai/base-image-cpu-rhel9 1790703631, rhai/base-image-tpu-rhel9 1790703539, rhai/base-image-gaudi-rhel9 1790703553, rhai/base-image-spyre-rhel9 1790703597, rhai/base-image-neuron-rhel9 1790703542, rhai/base-image-rocm-6.4-rhel9 1790703545, +3 more
    fixed: vendor fix RHSA-2026:74679
  • Red Hat OpenShift AI 3.5 rhai/base-image-cpu-rhel9 1790703656, rhai/base-image-tpu-rhel9 1790703554, rhai/base-image-gaudi-rhel9 1790703552, rhai/base-image-rubin-rhel9 1790703707, rhai/base-image-spyre-rhel9 1790703630, rhai/base-image-neuron-rhel9 1790703557, +3 more
    fixed: vendor fix RHSA-2026:75652
  • Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1789479900, rhui5/rhua-rhel9 1790242004, rhui5/haproxy-rhel9 1789479891, rhui5/installer-rhel9 1789482961, rhui5/cds-kubernetes-rhel9 1789479916
    fixed: vendor fix RHSA-2026:67956
  • Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux AppStream (v. 9) vim-X11 8.2.2637-26.el9_8.21, vim-enhanced 8.2.2637-26.el9_8.21 Red Hat Enterprise Linux AppStream (v. 10) xxd 9.1.083-9.el10_2.20, vim-X11 9.1.083-9.el10_2.20, vim-enhanced 9.1.083-9.el10_2.20 Red Hat Enterprise Linux BaseOS (v. 9) vim-minimal 8.2.2637-26.el9_8.21, vim-filesystem 8.2.2637-26.el9_8.21
    +5 more products
    Red Hat Enterprise Linux BaseOS (v. 10) vim-data 9.1.083-9.el10_2.20, vim-minimal 9.1.083-9.el10_2.20, vim-filesystem 9.1.083-9.el10_2.20 Red Hat Hardened Images vim Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9 Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1790241954, rhui5/rhua-rhel9 1789478095, rhui5/haproxy-rhel9 1790241900, rhui5/installer-rhel9 1790241922, rhui5/cds-kubernetes-rhel9 1790241897
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 mo ago

Exploit prediction

0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.4 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CNA 4.0 8.4 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • vim vim

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.