製品・ソフトウェアに関する情報
Vimにおける複数の脆弱性
Title Vimにおける複数の脆弱性
Summary

Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0496より前のバージョンでは、+rubyサポートが有効になっているVimビルドのcucumberファイルタイププラグイン(runtime/ftplugin/cucumber.vim)内のs:stepmatch()にコードインジェクションの脆弱性が存在します。リポジトリ内のfeatures/*/またはstories/*/ディレクトリ下の.rbファイルから読み取られるステップ定義パターンが、十分なエスケープ処理をせずにRubyのKernel.eval引数に埋め込まれているため、攻撃者が制御するリポジトリ内の細工されたパターンによって、ユーザーがステップジャンプマッピング([d, ]d)を呼び出した際に任意のRubyコード(およびそれを通じて任意のシェルコマンド)を実行されてしまいます。この問題はバージョン9.2.0496で修正されています。

Possible impacts ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアの一部が停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 11, 2026, midnight
Registration Date June 16, 2026, 1:37 p.m.
Last Update June 16, 2026, 1:37 p.m.
CVSS3.0 : 警告
Score 5.3
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Affected System
Vim
Vim 9.2.0496 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月16日]
  掲載
June 16, 2026, 1:37 p.m.

NVD Vulnerability Information
CVE-2026-47167
Summary

Vim is an open source, command line text editor. Prior to version 9.2.0496, 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). This issue has been patched in version 9.2.0496.

Publication Date June 12, 2026, 4:16 a.m.
Registration Date June 13, 2026, 4:14 a.m.
Last Update June 15, 2026, 10:32 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* 9.2.0496
Related information, measures and tools
Common Vulnerabilities List