製品・ソフトウェアに関する情報
struktur AGのlibheifにおける複数の脆弱性
Title struktur AGのlibheifにおける複数の脆弱性
Summary

libheifはHEIFおよびAVIFファイルフォーマットのデコーダおよびエンコーダです。バージョン1.21.2およびそれ以前のバージョンでは、stscボックス内のsamples_per_chunkが0に設定された細工された792バイトのHEIFシーケンスファイルが、Chunkコンストラクタ内で符号なし整数のアンダーフローを引き起こします(m_last_sample = 0 + 0 - 1 = UINT32_MAX)。これにより、すべてのサンプルが空のチャンクにマッピングされ、サービス拒否(DoS)が発生します。任意のサンプルにアクセスすると、ライブラリは空のstd::vectorのインデックス0から読み取ろうとし、確実にSEGV(ヌルページ読み取り)を引き起こします。ファイルはエラーを生成せずに正常に解析されますが、クラッシュは最初のフレームアクセス時に発生します。この問題はバージョン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 6.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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-32738
Summary

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer underflow in the Chunk constructor (m_last_sample = 0 + 0 - 1 = UINT32_MAX), mapping all samples to an empty chunk and resulting in a denial of service. When any sample is accessed, the library reads from index 0 of an empty std::vector, causing a guaranteed SEGV (null-page read). The file parses successfully without producing an error; the crash occurs on the first frame access. This issue has been fixed in version 1.22.0.

Publication Date May 20, 2026, 4:16 a.m.
Registration Date May 21, 2026, 4:09 a.m.
Last Update May 20, 2026, 11:17 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