CVE-2026-142504
Deferred Deferred - Pending Action

libheif Bit Depth Validation Flaw Leads to Out-of-Bounds Reads

Vulnerability report for CVE-2026-142504, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
strukturag libheif From 0 (inc) to 1.23.6 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1284 The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

libheif before version 1.23.6 fails to verify that decoded images match the bit depth reported by the image handle, causing out-of-bounds reads in 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.

Detection Guidance

To detect this vulnerability, check the version of libheif installed on your system. If it is version 1.23.5 or earlier, the system is vulnerable. Use commands like 'apt list --installed | grep libheif' (Debian/Ubuntu) or 'rpm -qa | grep libheif' (RHEL/CentOS) to check the installed version.

Impact Analysis

This vulnerability can cause applications using libheif to crash or disclose sensitive memory. Attackers may exploit it by providing malformed HEIF files, leading to denial of service or information leakage. The impact depends on how the application processes image data.

Mitigation Strategies

Immediately update libheif to version 1.23.6 or later. If updating is not possible, avoid processing untrusted HEIF files or implement strict input validation to reject files with inconsistent bit depth metadata.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142504. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...