Vimにおける複数の脆弱性
| Title |
Vimにおける複数の脆弱性
|
| Summary |
Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0561以前では、+python3インタプリタが有効なVimのpython3complete.vimにあるPythonオムニ補完スクリプト(および+pythonインタプリタを使用したビルドの旧来のpythoncomplete.vim)が、現在のバッファ内で見つかったimportおよびfromステートメントをPythonのimport機構を通じて実行します。バッファの作業ディレクトリがsys.pathに存在するため、攻撃者が用意した隣接するPythonパッケージを含む悪意のある.pyファイルを開き、オムニ補完を呼び出すと、そのパッケージのトップレベルコードが編集ユーザーの権限で実行されます。この問題はバージョン9.2.0561で修正されました。
|
| Possible impacts |
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 11, 2026, midnight |
| Registration Date |
June 16, 2026, 1:35 p.m. |
| Last Update |
June 16, 2026, 1:35 p.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
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月16日] 掲載 |
June 16, 2026, 1:35 p.m. |
NVD Vulnerability Information
CVE-2026-52858
| Summary |
Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) executes the import and from statements found in the current buffer through Python's import machinery. Because the buffer's working directory is on sys.path, opening a hostile .py file with a sibling Python package and invoking omni-completion runs that package's top-level code as the editing user. This issue has been patched in version 9.2.0561.
|
| Publication Date |
June 12, 2026, 4:16 a.m. |
| Registration Date |
June 13, 2026, 4:15 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.0561 |
Related information, measures and tools
Common Vulnerabilities List