CVE-2026-142495

NameCVE-2026-142495
Descriptionlibheif 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6523-1
Debian Bugs1148137

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libheif (PTS)bookworm1.15.1-1+deb12u1fixed
bookworm (security)1.15.1-1+deb12u2fixed
trixie (security), trixie1.23.6-2~deb13u1fixed
forky, sid1.23.7-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libheifsourcebookworm(not affected)
libheifsourcetrixie1.23.4-1~deb13u1DSA-6523-1
libheifsource(unstable)1.23.4-11148137

Notes

[bookworm] - libheif <not-affected> (Vulnerable code introduced later)
https://github.com/strukturag/libheif/security/advisories/GHSA-vg7w-rp49-4fc2
Introduced by: https://github.com/strukturag/libheif/commit/18575c8be89f23c5c2d55ed646ce42f37d6924f5 (v1.19.0)
Fixed by: https://github.com/strukturag/libheif/commit/2ebb06f2b60f4542e193ae273988b728ba7c9083 (v1.23.4)
Fixed by: https://github.com/strukturag/libheif/commit/19fd108e6e8d82ad3e1853d945a809ad3fbd5669 (v1.23.4)

Search for package or bug name: Reporting problems