{"id":"CVE-2026-142495","summary":"libheif 1.19.0 before 1.23.4 Resource Exhaustion via Unenforced iinf Item Limit","details":"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.","aliases":["GHSA-vg7w-rp49-4fc2"],"modified":"2026-12-02T19:00:17.893287202Z","published":"2026-12-02T17:42:33.136Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142495.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142495.json"},{"type":"PACKAGE","url":"https://github.com/strukturag/libheif"},{"type":"ARTICLE","url":"https://github.com/strukturag/libheif/blob/v1.23.3/libheif/box.cc#L1119-L1123"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/19fd108e6e8d82ad3e1853d945a809ad3fbd5669"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/2ebb06f2b60f4542e193ae273988b728ba7c9083"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/releases/tag/v1.23.4"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-vg7w-rp49-4fc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142495"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libheif-1.19.0-before-1.23.4-resource-exhaustion-via-unenforced-iinf-item-limit"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"c4e4657dcf6bcc06e934632f97736f7c78dbff9e"},{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"},{"fixed":"2ebb06f2b60f4542e193ae273988b728ba7c9083"},{"fixed":"19fd108e6e8d82ad3e1853d945a809ad3fbd5669"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"1.19.0"},{"fixed":"1.23.4"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"2ebb06f2b60f4542e193ae273988b728ba7c9083"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"19fd108e6e8d82ad3e1853d945a809ad3fbd5669"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"}],"source":"REFERENCES_TAG","original_tag":"v1.23.4"}]}}],"versions":["v1.23.3","v1.23.2","v1.23.1","v1.23.0","v1.22.2","v1.22.1","v1.22.0","v1.21.2","v1.21.1","v1.21.0","v1.20.1","v1.20.0","v1.19.5","v1.19.4","v1.19.3","v1.19.2","v1.19.1","v1.19.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142495.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}