CVE-2026-142504

NameCVE-2026-142504
Descriptionlibheif before 1.23.6 fails to verify that decoded images match the bit depth reported by the image handle, causing out-of-bounds reads in calling applications. Attackers can supply crafted HEIF files with contradicting hvcC or av1C boxes, mixed-depth grid tiles, or iovl overlays to crash applications or disclose memory.
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)
ReferencesDLA-4959-1, DSA-6583-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libheif (PTS)bookworm1.15.1-1+deb12u1vulnerable
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
libheifsourcebookworm1.15.1-1+deb12u2DLA-4959-1
libheifsourcetrixie1.23.6-2~deb13u1DSA-6583-1
libheifsource(unstable)1.23.6-1

Notes

https://github.com/strukturag/libheif/security/advisories/GHSA-vv35-6hxg-95x8
https://github.com/strukturag/libheif/commit/770b0d8d7e1e57b0f4d2b8dc53ff3f82b712fbac (v1.23.6)
https://github.com/strukturag/libheif/commit/64a5bba75ad64aa8c010b8ad61e32091025442b3 (v1.23.6)

Search for package or bug name: Reporting problems