製品・ソフトウェアに関する情報
struktur AGのlibheifにおける境界外書き込みに関する脆弱性
Title struktur AGのlibheifにおける境界外書き込みに関する脆弱性
Summary

libheifはHEIFおよびAVIFファイルフォーマットのデコーダおよびエンコーダです。バージョン1.21.2以前にはグリッドタイル合成においてヒープバッファオーバーフロー(書き込み)の脆弱性が存在していました。攻撃者は奇数高さのタイルで構成された1×4グリッドのHEIF/AVIFファイルを作成することで、クロマプレーンのヒープ割り当ての末尾から64バイト分の完全に攻撃者が制御可能なデータを書き込むことが可能です。このオーバーフローはデフォルトビルド構成での通常の画像デコード中にトリガーされます。書き込まれるバイトは攻撃者が送信したタイルのクロマ(Cb/Cr)ピクセル値であり、そのオーバーフローの内容は攻撃者が完全に制御できます。この問題はバージョン1.22.0で修正されました。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

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

NVD Vulnerability Information
CVE-2026-32740
Summary

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.

Publication Date May 20, 2026, 5:16 a.m.
Registration Date May 21, 2026, 4:09 a.m.
Last Update May 21, 2026, 11:16 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:* 1.22.0
Related information, measures and tools
Common Vulnerabilities List