CVE-2026-142499

NameCVE-2026-142499
Descriptionlibheif 1.20.0 before 1.23.6 contains a null pointer dereference vulnerability in Track_Visual::decode_next_image_sample() that allows attackers to crash the process via crafted HEIF image sequences. Attackers can map a later chunk in the 'stsc' box to a non-visual 'stsd' sample entry such as 'mp4a', causing heif_track_decode_next_image() to call through a null decoder pointer.
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-8p2c-9wv4-rx4p
Introduced by: https://github.com/strukturag/libheif/commit/dbe03c91f9bf70b94f426b859f21c988517dcb64 (v1.20.0)
Fixed by: https://github.com/strukturag/libheif/commit/2b87e150b3fce9d0b29c7d97423b38ce3d8239fc (v1.23.6)

Search for package or bug name: Reporting problems