OS Command Injection Affecting vim-common package, versions <2:7.4.629-8.el7_9.1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (1st 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 Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-VIMCOMMON-15959547
  • published10 Apr 2026
  • disclosed24 Mar 2026

Introduced: 24 Mar 2026

NewCVE-2026-33412  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade RHEL:7 vim-common to version 2:7.4.629-8.el7_9.1 or higher.
This issue was patched in RHSA-2026:6617.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-common package and not the vim-common package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

Vim is an open source, command line text editor. Prior to version 9.2.0202, a command injection vulnerability exists in Vim's glob() function on Unix-like systems. By including a newline character (\n) in a pattern passed to glob(), an attacker may be able to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting. This issue has been patched in version 9.2.0202.

CVSS Base Scores

version 3.1