Skip to main content
EPSS 0.1%top 97%

Vim is an open source, command line text editor. (CVE-2026-73077)

0
Medium
Published: 08/11/2026 (08/11/2026, 16:17:00 UTC)
Source: GCVE Database
Product: vim

Description

Vim versions prior to 9.2.0839 contain a vulnerability in certain runtime filetype plugins that improperly handle attacker-controlled Visual-mode selections. This flaw allows shell metacharacters to be passed unsafely to shell commands, enabling arbitrary command execution with the privileges of the user running Vim. The issue affects multiple Ubuntu package versions of Vim and is fixed in version 9.2.0839.

CVSS v4.0

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Ubuntu:22.04:LTSmore threats →ghsa
vim
pkg:deb/ubuntu/vim?arch=source&distro=jammy
Affected 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=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
Ubuntu:24.04:LTSmore threats →ghsa
vim
pkg:deb/ubuntu/vim?arch=source&distro=noble
Affected 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=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
Ubuntu:26.04:LTSmore threats →ghsa
vim
pkg:deb/ubuntu/vim?arch=source&distro=resolute
Affected 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=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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 14:32:47 UTC

Technical Analysis

Vim's runtime filetype plugins for sh, zsh, and ps1 (sh.vim, zsh.vim, ps1.vim) prior to version 9.2.0839 pass attacker-controlled Visual-mode selections from the 'K' command through keywordprg commands without properly separating shell arguments. The functions fnameescape() and PATH_ESC_CHARS do not neutralize shell metacharacters before invoking bash, zsh, or PowerShell via ShKeywordPrg, ZshKeywordPrg, or GetHelp. This results in arbitrary operating system command execution with the privileges of the user running Vim. The vulnerability is resolved in Vim version 9.2.0839.

Potential Impact

An attacker able to control Visual-mode selections in Vim can execute arbitrary OS commands with the same privileges as the user running Vim. This could lead to unauthorized command execution and potential system compromise depending on user privileges.

Mitigation Recommendations

Upgrade Vim to version 9.2.0839 or later, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in 9.2.0839.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-73077
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
4.0

Threat ID: 6a870a76acd9273b49b58b06

Added to database: 08/20/2026, 14:08:54 UTC

Last enriched: 08/20/2026, 14:32:47 UTC

Last updated: 10/05/2026, 06:48:18 UTC

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses