CVE-2026-142498

NameCVE-2026-142498
Descriptionlibheif 1.22.0 before 1.23.4 contains a heap out-of-bounds read vulnerability in aom_encode_sequence_frame() and x265_encode_sequence_frame() that allows attackers to disclose heap memory via crafted images with mismatched luma and chroma bit depths. Attackers can supply a crafted 'unci' file with 10-bit luma and 8-bit chroma so re-encoding reads chroma rows at twice their width, leaking heap bytes into encoded output.
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)
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)
libheifsourcetrixie(not affected)
libheifsource(unstable)1.23.4-11148137

Notes

[trixie] - libheif <not-affected> (Vulnerable code not present)
[bookworm] - libheif <not-affected> (Vulnerable code not present)
https://github.com/strukturag/libheif/security/advisories/GHSA-fqpw-fj22-78w4
Fixed by: https://github.com/strukturag/libheif/commit/51360e193a1288f54592aa6fc0b7037160636514 (v1.23.4)

Search for package or bug name: Reporting problems