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

Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0663以前のnetrwプラグイン(runtime/pack/dist/opt/netrw/autoload/netrw.vim)内のs:NetrwLocalRmFile()に、ローカルファイルをブラウザから削除する際にVimscriptコードインジェクションの脆弱性が存在します。バッファのディレクトリリストから派生したファイル名が、バックスラッシュ文字のみをエスケープした状態で:executeに渡されるExコマンドラインに挿入されるため、バー(|)を含む細工されたファイル名によって意図されたコマンドが終了され、:call system()や:!を介したシェルコマンドを含む任意のVimscriptを実行できる可能性があります。この脆弱性はバージョン9.2.0663にて修正されました。

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

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

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

NVD Vulnerability Information
CVE-2026-55895
Summary

Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code injection vulnerability exists in s:NetrwLocalRmFile() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when deleting a local file from the browser. A filename derived from the buffer's directory listing is interpolated into an Ex command line passed to :execute with only the backslash character escaped, allowing a crafted filename containing a bar (|) to terminate the intended command and execute arbitrary Vimscript, including shell commands via :call system() and :!. This vulnerability is fixed in 9.2.0663.

Publication Date June 26, 2026, 1:16 a.m.
Registration Date June 27, 2026, 4:29 a.m.
Last Update June 26, 2026, 2:16 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* 9.2.0663
Related information, measures and tools
Common Vulnerabilities List