Intel

AIKIDO-2026-518573

strukturag.libheif is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-vg7w-rp49-4fc2 Published 4 days ago

87

High Risk

This Affects:

C++strukturag.libheif
1.19.0 - 1.23.3
Fixed in 1.23.4
Are you affected? Scan for Free

TL;DR

When parsing the iinf box, libheif passes the file-declared item count to the child-box reader without checking it against the configured item limit, because the cardinality check runs only on a different parse branch. A file that declares a very large item count forces quadratic parsing time and a large allocation, and on WebAssembly builds an unbounded alloca corrupts the stack. This lets a small crafted file exhaust resources at parse time. The fix enforces the item limit on the iinf child count.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

strukturag.libheif is vulnerable to Denial of Service (DoS) in versions 1.19.0 - 1.23.3.

How to fix this

Upgrade the strukturag.libheif library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform