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.
https://github.com/strukturag/libheif/security/advisories/GHSA-vg7w-rp49-4fc2
https://github.com/strukturag/libheif/releases/tag/v1.23.4
https://github.com/strukturag/libheif/commit/2ebb06f2b60f4542e193ae273988b728ba7c9083
https://github.com/strukturag/libheif/commit/19fd108e6e8d82ad3e1853d945a809ad3fbd5669
https://github.com/strukturag/libheif/blob/v1.23.3/libheif/box.cc#L1119-L1123
Published: 2026-12-02
Updated: 2026-12-05
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 6.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 7.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00726