Vim < 9.2.0496 Code Injection (GHSA-4473-94jm-w5x9)

medium Nessus Plugin ID 321504

Synopsis

The remote host is missing a security update.

Description

The version of Vim installed on the remote host is prior to 9.2.0496. It is, therefore, affected by a vulnerability as referenced in the GHSA-4473-94jm-w5x9 advisory.

- A code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vim builds with +ruby support. Step-definition patterns read from .rb files under the repository's features/*/ or stories/*/ directories are embedded into a Ruby Kernel.eval argument without sufficient escaping, allowing a crafted pattern in an attacker-controlled repository to execute arbitrary Ruby (and through it arbitrary shell commands) when the user invokes a step-jump mapping ([d, ]d). (CVE-2026-47167)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Vim version 9.2.0496 or later.

See Also

http://www.nessus.org/u?93ed2b4b

Plugin Details

Severity: Medium

ID: 321504

File Name: vim_9_2_0496.nasl

Version: 1.3

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 6/18/2026

Updated: 6/24/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.8

Percentile: 22.57

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-47167

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 1.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/a:vim:vim

Required KB Items: installed_sw/Vim

Exploit Ease: No known exploits are available

Patch Publication Date: 5/17/2026

Vulnerability Publication Date: 5/17/2026

Reference Information

CVE: CVE-2026-47167

IAVA: 2026-A-0619