CVE-2026-142500

NameCVE-2026-142500
Descriptionlibheif 1.22.0 before 1.23.6 contains a memory exhaustion vulnerability in the uncompressed (unci) codec that bypasses the max_total_memory limit for image_tile compressed units. Attackers can supply a crafted 22 KB HEIF file whose tiles are re-inflated per component, causing multi-gigabyte allocations that exhaust memory in the decoding application.
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-6583-1

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.6-2~deb13u1DSA-6583-1
libheifsource(unstable)1.23.6-1

Notes

[bookworm] - libheif <not-affected> (Vulnerable code introduced later)
https://github.com/strukturag/libheif/security/advisories/GHSA-fcmw-5764-7rq8
Introduced after: https://github.com/strukturag/libheif/commit/f740c0d2661b433945d02c3ced5d0f7bd29641aa (v1.16.0)
Fixed by: https://github.com/strukturag/libheif/commit/585607ac15c7391831360e19bed2422320362834 (v1.23.6)

Search for package or bug name: Reporting problems