struktur AGのlibheifにおける境界外読み取りに関する脆弱性
タイトル struktur AGのlibheifにおける境界外読み取りに関する脆弱性
概要

libheifはHEIFおよびAVIFファイルフォーマットのデコーダおよびエンコーダです。バージョン1.21.2以前では、saizボックスがトラックのチャンクテーブルに実際に存在するサンプル数よりも多くのサンプルを宣言する細工されたHEIFシーケンスファイルにより、SampleAuxInfoReaderコンストラクタでヒープバッファオーバーフロー(境界外読み取り)が発生します。SampleAuxInfoReaderコンストラクタはsaiz-get_num_samples()のサンプルを反復処理しますが、この数がチャンクベクターのチャンク数と一致しているかどうか検証しません。saizがチャンク数より多くのサンプルを宣言すると、ループ内でcurrent_chunkがchunks.size()を超えてインクリメントされ、chunksベクターに対する境界外読み取りが発生します。この脆弱性はファイル解析(heif_context_read_from_file)中にトリガーされ、追加のユーザー操作は必要ありません。libheifを使用して信頼できないHEIFファイルを開くすべてのアプリケーションが影響を受けます。この問題はバージョン1.22.0で修正されました。

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

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

公表日 2026年5月22日0:00
登録日 2026年5月29日11:17
最終更新日 2026年5月29日11:17
CVSS3.0 : 重要
スコア 8.1
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
影響を受けるシステム
struktur AG
libheif 1.22.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年05月29日]
  掲載
2026年5月29日11:17

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

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, a crafted HEIF sequence file where the saiz box declares more samples than actually exist in the track's chunk table causes a heap-buffer-overflow (out-of-bounds read) in the SampleAuxInfoReader constructor. The SampleAuxInfoReader constructor iterates over saiz->get_num_samples() samples but doesn't validate that this count is consistent with the number of chunks in the chunks vector. When saiz declares more samples than the chunks cover, the loop increments current_chunk past chunks.size(), causing an out-of-bounds read on the chunks vector. The vulnerability is triggered during file parsing (heif_context_read_from_file) without any additional user interaction. Any application using libheif to open untrusted HEIF files is affected. This issue has been fixed in version 1.22.0.

公表日 2026年5月23日7:16
登録日 2026年5月27日4:06
最終更新日 2026年5月28日0:25
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:* 1.22.0
関連情報、対策とツール
共通脆弱性一覧