CVE-2026-142504: libheif before 1.23.6 Bit Depth Mismatch Leads to Out-of-Bounds Read
Vulnerability summary
CVE-2026-142504 is a medium (CVSS 6.0) vulnerability in strukturag libheif. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 37% of scored vulnerabilities.
Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 02-12-2026PublishedVulnerability first disclosed.
- 05-12-2026Last modifiedVulnerability information updated.
Description
libheif 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.
CVSS metrics
5 scores · 3 sources · 2 versions- NVDNIST6.0MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- libheif< 1.15.1-1+deb12u2 | < 1.23.6-2~deb13u1 | < 1.23.6-1
Strukturag1 product
- libheif< 1.23.6
2 vendors · 2 products
References
7 links- github.com/strukturag/libheif/releases/tag/v1.23.6Release Notes
- github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.ccTechnical Description