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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-11 · Modified: 2026-08-11
- Aliases: ALPINE-CVE-2026-73077, UBUNTU-CVE-2026-73077, DEBIAN-CVE-2026-73077
- Record: https://cvemate.com/vulnerability/CVE-2026-73077 · JSON: https://cvemate.com/vulnerability/CVE-2026-73077/json

## Description

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

## Signals

- CVSS: 8.4 high (v4.0, CVE.org) 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
- EPSS: 0.144%, percentile 3.883%, 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.0854-r0 \| \< 9.2.0843-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1230-2+deb13u1 \| \< 2:9.2.0858-1
- ubuntu vim (Ubuntu): \< 2:8.2.3995-1ubuntu2.35 \| \< 2:9.1.0016-1ubuntu7.19 \| \< 2:9.1.2141-1ubuntu4.8
- vim vim: \< 9.2.0839

## References

- <https://github.com/vim/vim/security/advisories/GHSA-r5v6-q6j8-8qw2>
- <https://github.com/vim/vim/commit/c5a82fe013e73c98004ad7cd4f906b1ad1ed610e>
- <https://security.alpinelinux.org/vuln/CVE-2026-73077>
- <https://ubuntu.com/security/CVE-2026-73077>
- <https://www.cve.org/CVERecord?id=CVE-2026-73077>
- <https://ubuntu.com/security/notices/USN-8657-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-73077>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-73077>

---

Data as of 2026-12-05T03:32:23.281Z. 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
