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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"vim:vim": [
"< 9.2.0839"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73077",
"id": "CVE-2026-73077",
"imported": "2026-12-02T14:11:18.603Z",
"modified": "2026-10-06T19:34:36.703Z",
"published": "2026-08-11T16:17:39.430Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73077"
},
{
"affected": {
"vim:vim": [
"< 9.2.0839"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-56233",
"id": "EUVD-2026-56233",
"imported": "2026-12-02T14:11:19.987Z",
"modified": "2026-08-11T18:33:31Z",
"published": "2026-08-11T15:39:24Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-56233"
}
]
}