CVE-2026-142499: Vulnerability in Strukturag Libheif
Patch soon. libheif 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.
CWE-476
- Exploitation
- None confirmed
- Severity
- 7.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-x58w-fpfc-9h2v
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-476
- Published
- 2 Dec 2026
- Last change
- 3 Dec 2026
Affected products
Affected versions and the first fixed release
- Strukturag Libheif From 1.20.0 before 1.23.6. Fixed in 1.23.6
Advisories
Vendor and security advisories
- github.com/strukturag/libheif/security/advisories/GHSA-8p2c-9wv4-rx4p
- github.com/strukturag/libheif/blob/v1.23.5/libheif/sequences/track_visual.cc
- vulncheck.com/advisories/libheif-1.20.0-before-1.23.6-null-pointer-dereference-via-trac...
Patches and fixes
Updates, commits and release notes
- github.com/strukturag/libheif/commit/2b87e150b3fce9d0b29c7d97423b38ce3d8239fc
- github.com/strukturag/libheif/releases/tag/v1.23.6
Related
- Libheif vulnerabilities Recent advisories, watch this product