Description
libheif 1.19.0 before 1.23.4 contains an allocation of resources without limits vulnerability in Box_iinf::parse() and Box::read_children() that allows attackers to cause denial of service via crafted HEIF files. Attackers can declare a huge number of 'infe' items to trigger quadratic CPU time and gigabytes of heap usage, or overflow the WebAssembly stack in Emscripten builds.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| strukturag | libheif | 1.19.0 – < 1.23.4 | 1.23.4 |
References
- GitHub Security Advisory (GHSA-vg7w-rp49-4fc2) vendor-advisory
- https://github.com/strukturag/libheif/commit/2ebb06f2b60f4542e193ae273988b728ba7c9083 patch
- https://github.com/strukturag/libheif/commit/19fd108e6e8d82ad3e1853d945a809ad3fbd5669 patch
- libheif v1.23.4 Release Notes release-notes
- https://github.com/strukturag/libheif/blob/v1.23.3/libheif/box.cc#L1119-L1123 technical-description
- VulnCheck Advisory: libheif 1.19.0 before 1.23.4 Resource Exhaustion via Unenforced iinf Item Limit third-party-advisory