7-Zipにおける境界外読み取りに関する脆弱性
タイトル 7-Zipにおける境界外読み取りに関する脆弱性
概要

7-Zipは高い圧縮率を持つファイルアーカイバです。バージョン9.11から26.00までには、UDFディスクイメージハンドラのファイル識別子ディスクリプタパーサーにおいて最大3バイトのヒープ境界外読み取りが含まれていました。CFileId::Parse(CPP/7zip/Archive/Udf/UdfIn.cpp)では、size 38 + idLen + impLenを検証し、processedを38 + impLen + idLenに進めた後、アライメントパディングのループがp[processed]を読み取りながら最大3回インクリメントして4バイト境界に到達します。しかし、processed = sizeの境界チェックはループ後にしか行われません。(38 + impLen + idLen) % 4 != 0かつ38 + impLen + idLen == sizeの場合、このループによりbuf.Alloc((size_t)item.Size)で確保された正確なサイズのヒープバッファの末尾を1から3バイト越えて読み取ってしまいます。UDFハンドラは.isoおよび.udfファイルに対して登録され、シグネチャにより自動検出されます。細工されたUDFイメージのOpen()処理中にリスト表示または抽出時にこのOOB読み取りが発生します。影響は情報漏えい(OOBバイトごとに1ビットのオラクルをオープン/失敗動作を通じて発生)およびサービス妨害(ハード化されたアロケータ下でのクラッシュ)に限定されており、書き込みプリミティブは存在しません。この問題はバージョン26.01で修正されました。

想定される影響 ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 
対策

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

公表日 2026年6月5日0:00
登録日 2026年6月9日14:13
最終更新日 2026年6月9日14:13
CVSS3.0 : 警告
スコア 4.3
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
影響を受けるシステム
7-Zip
7-Zip 9.11 から 26.01
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年06月09日]
  掲載
2026年6月9日14:13

NVD脆弱性情報
CVE-2026-48102
概要

7-Zip is a file archiver with a high compression ratio. Versions 9.11 through 26.00 contain a heap out-of-bounds read of up to 3 bytes in the UDF disc image handler's File Identifier Descriptor parser. In CFileId::Parse (CPP/7zip/Archive/Udf/UdfIn.cpp), after validating size < 38 + idLen + impLen and advancing processed to 38 + impLen + idLen, the alignment-padding loop reads p[processed] while incrementing up to 3 times to reach a 4-byte boundary, and the processed <= size bounds check only runs after the loop. When (38 + impLen + idLen) % 4 != 0 and 38 + impLen + idLen == size, the loop reads 1 to 3 bytes past the end of the exact-size heap buffer allocated via buf.Alloc((size_t)item.Size). The UDF handler is registered for .iso and .udf files and auto-detected by signature, and the OOB read triggers during Open() when listing or extracting a crafted UDF image. Impact is limited to information disclosure (a 1-bit oracle per OOB byte via open/fail behavior) and denial of service (crash under hardened allocators); there is no write primitive. Version 26.01 fixes the issue.

公表日 2026年6月6日1:16
登録日 2026年6月6日4:17
最終更新日 2026年6月8日22:43
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:7-zip:7-zip:*:*:*:*:*:*:*:* 9.11 26.01
関連情報、対策とツール
共通脆弱性一覧