Command Injection Affecting vim/vim package, versions [,9.2.0276)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.47% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VIMVIM-15923524
  • published7 Apr 2026
  • disclosed6 Apr 2026
  • creditAvishay Matayev

Introduced: 6 Apr 2026

CVE-2026-34982  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.2.0276 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the modeline feature due to the missing the P_MLE flag in complete, guitabtooltip and printheader options. An attacker can execute arbitrary operating system commands with the privileges of the user running the application by convincing a user to open a specially crafted file.

CVSS Base Scores

version 4.0
version 3.1