製品・ソフトウェアに関する情報
Vimにおける境界外読み取りに関する脆弱性
Title Vimにおける境界外読み取りに関する脆弱性
Summary

Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0320から9.2.0679までの間に、細工されたundoファイルまたはswapファイルが、オフセットと長さが行のプロパティデータの範囲外を指す仮想テキストプロパティを保存する可能性があります。Vimはそのような行を復元または表示する際に、オフセットをポインタに変換し、境界チェックを行わずに仮想テキストを読み取るため、境界外読み取りが発生し、Vimがクラッシュしたり隣接するヒープメモリの情報が漏洩したりする可能性があります。この脆弱性はバージョン9.2.0679で修正されました。

Possible impacts ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

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

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

NVD Vulnerability Information
CVE-2026-57454
Summary

Vim is an open source, command line text editor. From 9.2.0320 until 9.2.0679, a crafted undo or swap file can store a virtual-text property whose offset and length point outside the line's property data. When Vim restores or displays such a line it converts the offset into a pointer and reads the virtual text without bounds checking, causing an out-of-bounds read that can crash Vim or disclose adjacent heap memory. This vulnerability is fixed in 9.2.0679.

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