p PatchFirst

CVE-2026-73077

CVE-2026-73077 · Vim: Arbitrary Code Execution via Shell Keyword Lookup

CVSS 8.4 · High · EPSS 0.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • vimNo fix published
  • vim Alpine 3.23Update to 9.2.0854-r0
  • vim Alpine 3.24Update to 9.2.0843-r0
  • vim Debian 12No fix published
  • and 5 more

Check the installed version:

apk list -I -o vim
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="vim"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • DSA-6600-1 · Debian 13 ·
  • RHSA-2026:72465 · Red Hat rhel e4s 9.4 appstream, Red Hat rhel e4s 9.4 baseos ·
  • RHSA-2026:72466 · Red Hat rhel e4s 9.2 appstream, Red Hat rhel e4s 9.2 baseos ·
  • RHSA-2026:70818 · Red Hat rhel eus 9.6 appstream, Red Hat rhel eus 9.6 baseos ·
  • RLSA-2026:66336 · Rocky Linux 10 ·
  • RLSA-2026:66366 · Rocky Linux 9 ·
  • RHSA-2026:66366 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 baseos ·
  • RHSA-2026:66336 · Red Hat Enterprise Linux 10.2 ·
  • ALSA-2026:66336 · AlmaLinux 10 ·
  • ALSA-2026:66366 · AlmaLinux 9 ·
  • SUSE-SU-2026:23365-1 · SUSE Linux Micro 6.0 ·
  • openSUSE-SU-2026:21671-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:23393-1 · SUSE Linux Micro 6.2 ·
  • SUSE-SU-2026:23552-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2026:23391-1 · SUSE Linux Micro Extras 6.2 ·
  • SUSE-SU-2026:3680-1 · SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Module for Desktop Applications 15 SP7, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:3679-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
  • SUSE-SU-2026:3677-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • USN-8657-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • SUSE-SU-2026:23190-1 · SUSE Linux Micro 6.1 ·

Stack: system

Affected products and versions

  • vim

    Versions
    • < 9.2.0839: Affected

    No fix published

  • vim Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 9.2.0854-r0

    Update to 9.2.0854-r0

  • vim Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 9.2.0843-r0

    Update to 9.2.0843-r0

  • vim Debian 12

    Versions
    • 2:9.0.1378-2
    • 2:9.0.1378-2+deb12u1
    • 2:9.0.1378-2+deb12u2
    • 2:9.0.1658-1
    • 2:9.0.1672-1
    • 2:9.0.1894-1
    All versions (45)
    • 2:9.0.2018-1
    • 2:9.0.2087-1
    • 2:9.0.2103-1
    • 2:9.0.2116-1
    • 2:9.0.2189-1
    • 2:9.1.0-1
    • 2:9.1.0016-1
    • 2:9.1.0199-1
    • 2:9.1.0374-1
    • 2:9.1.0377-1
    • 2:9.1.0496-1
    • 2:9.1.0698-1
    • 2:9.1.0709-1
    • 2:9.1.0709-2
    • 2:9.1.0777-1
    • 2:9.1.0861-1
    • 2:9.1.0967-1
    • 2:9.1.0967-2
    • 2:9.1.1113-1
    • 2:9.1.1230-1
    • 2:9.1.1230-2
    • 2:9.1.1385-1
    • 2:9.1.1766-1
    • 2:9.1.1829-1
    • 2:9.1.1846-1
    • 2:9.1.1882-1
    • 2:9.1.2103-1
    • 2:9.1.2141-1
    • 2:9.2.0119-1
    • 2:9.2.0136-1
    • 2:9.2.0218-1
    • 2:9.2.0315-1
    • 2:9.2.0338-1
    • 2:9.2.0355-1
    • 2:9.2.0428-1
    • 2:9.2.0461-1
    • 2:9.2.0524-1
    • 2:9.2.0782-1
    • 2:9.2.0858-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • vim Debian 13

    Versions
    • 2:9.1.1230-2
    Affected ranges
    • ECOSYSTEM: < 2:9.1.1230-2+deb13u1

    Update to 2:9.1.1230-2+deb13u1

  • vim Debian 14

    Versions
    • 2:9.1.1230-2
    • 2:9.1.1385-1
    • 2:9.1.1766-1
    • 2:9.1.1829-1
    • 2:9.1.1846-1
    • 2:9.1.1882-1
    All versions (18)
    • 2:9.1.2103-1
    • 2:9.1.2141-1
    • 2:9.2.0119-1
    • 2:9.2.0136-1
    • 2:9.2.0218-1
    • 2:9.2.0315-1
    • 2:9.2.0338-1
    • 2:9.2.0355-1
    • 2:9.2.0428-1
    • 2:9.2.0461-1
    • 2:9.2.0524-1
    • 2:9.2.0782-1
    Affected ranges
    • ECOSYSTEM: < 2:9.2.0858-1

    Update to 2:9.2.0858-1

  • vim Ubuntu 22.04 LTS

    Versions
    • 2:8.2.2434-3ubuntu3
    • 2:8.2.2434-3ubuntu4
    • 2:8.2.3565-1ubuntu1
    • 2:8.2.3565-1ubuntu2
    • 2:8.2.3565-1ubuntu3
    • 2:8.2.3565-1ubuntu5
    All versions (38)
    • 2:8.2.3995-1ubuntu1
    • 2:8.2.3995-1ubuntu2
    • 2:8.2.3995-1ubuntu2.1
    • 2:8.2.3995-1ubuntu2.3
    • 2:8.2.3995-1ubuntu2.4
    • 2:8.2.3995-1ubuntu2.5
    • 2:8.2.3995-1ubuntu2.7
    • 2:8.2.3995-1ubuntu2.8
    • 2:8.2.3995-1ubuntu2.9
    • 2:8.2.3995-1ubuntu2.10
    • 2:8.2.3995-1ubuntu2.11
    • 2:8.2.3995-1ubuntu2.12
    • 2:8.2.3995-1ubuntu2.13
    • 2:8.2.3995-1ubuntu2.15
    • 2:8.2.3995-1ubuntu2.16
    • 2:8.2.3995-1ubuntu2.17
    • 2:8.2.3995-1ubuntu2.18
    • 2:8.2.3995-1ubuntu2.19
    • 2:8.2.3995-1ubuntu2.20
    • 2:8.2.3995-1ubuntu2.21
    • 2:8.2.3995-1ubuntu2.22
    • 2:8.2.3995-1ubuntu2.23
    • 2:8.2.3995-1ubuntu2.24
    • 2:8.2.3995-1ubuntu2.26
    • 2:8.2.3995-1ubuntu2.27
    • 2:8.2.3995-1ubuntu2.28
    • 2:8.2.3995-1ubuntu2.29
    • 2:8.2.3995-1ubuntu2.30
    • 2:8.2.3995-1ubuntu2.31
    • 2:8.2.3995-1ubuntu2.32
    • 2:8.2.3995-1ubuntu2.33
    • 2:8.2.3995-1ubuntu2.34
    Affected ranges
    • ECOSYSTEM: < 2:8.2.3995-1ubuntu2.35

    Update to 2:8.2.3995-1ubuntu2.35

  • vim Ubuntu 24.04 LTS

    Versions
    • 2:9.0.1672-1ubuntu2
    • 2:9.0.2087-1ubuntu1
    • 2:9.0.2116-1ubuntu1
    • 2:9.0.2116-1ubuntu2
    • 2:9.0.2184-0ubuntu1
    • 2:9.0.2189-1ubuntu1
    All versions (28)
    • 2:9.1.0-1ubuntu1
    • 2:9.1.0016-1ubuntu2
    • 2:9.1.0016-1ubuntu6
    • 2:9.1.0016-1ubuntu7
    • 2:9.1.0016-1ubuntu7.1
    • 2:9.1.0016-1ubuntu7.2
    • 2:9.1.0016-1ubuntu7.3
    • 2:9.1.0016-1ubuntu7.4
    • 2:9.1.0016-1ubuntu7.5
    • 2:9.1.0016-1ubuntu7.6
    • 2:9.1.0016-1ubuntu7.7
    • 2:9.1.0016-1ubuntu7.8
    • 2:9.1.0016-1ubuntu7.9
    • 2:9.1.0016-1ubuntu7.10
    • 2:9.1.0016-1ubuntu7.11
    • 2:9.1.0016-1ubuntu7.12
    • 2:9.1.0016-1ubuntu7.13
    • 2:9.1.0016-1ubuntu7.14
    • 2:9.1.0016-1ubuntu7.15
    • 2:9.1.0016-1ubuntu7.16
    • 2:9.1.0016-1ubuntu7.17
    • 2:9.1.0016-1ubuntu7.18
    Affected ranges
    • ECOSYSTEM: < 2:9.1.0016-1ubuntu7.19

    Update to 2:9.1.0016-1ubuntu7.19

  • vim Ubuntu 26.04 LTS

    Versions
    • 2:9.1.0967-1ubuntu6
    • 2:9.1.1882-1ubuntu1
    • 2:9.1.1882-1ubuntu2
    • 2:9.1.2141-1ubuntu1
    • 2:9.1.2141-1ubuntu2
    • 2:9.1.2141-1ubuntu4
    All versions (12)
    • 2:9.1.2141-1ubuntu4.1
    • 2:9.1.2141-1ubuntu4.2
    • 2:9.1.2141-1ubuntu4.3
    • 2:9.1.2141-1ubuntu4.5
    • 2:9.1.2141-1ubuntu4.6
    • 2:9.1.2141-1ubuntu4.7
    Affected ranges
    • ECOSYSTEM: < 2:9.1.2141-1ubuntu4.8

    Update to 2:9.1.2141-1ubuntu4.8

Original sources

Check your server →