MEDIUM · CVSS 5.9 Published: 2026-12-02
CVE-2026-142504 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-142504 |
|---|---|
| Base Severity / Score | MEDIUM (5.9 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H |
| Weakness Classification | CWE-1284 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc#L590
- https://github.com/strukturag/libheif/commit/64a5bba75ad64aa8c010b8ad61e32091025442b3
- https://github.com/strukturag/libheif/commit/770b0d8d7e1e57b0f4d2b8dc53ff3f82b712fbac
- https://github.com/strukturag/libheif/releases/tag/v1.23.6
- https://github.com/strukturag/libheif/security/advisories/GHSA-vv35-6hxg-95x8
- https://www.vulncheck.com/advisories/libheif-before-1.23.6-bit-depth-mismatch-leads-to-out-of-bounds-read
Related Security Advisories
CVE-2026-142503 MEDIUM 5.3
CVE-2026-142505 MEDIUM 6.5
CVE-2026-142501 MEDIUM 6.5
CVE-2026-142506 MEDIUM 6.5
CVE-2026-17579 MEDIUM 6.9
CVE-2026-76895 MEDIUM 6.9