CVE-2026-142503
Deferred Deferred - Pending Action

libheif Heap Overflow via Oversized Alpha Planes

Vulnerability report for CVE-2026-142503, 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 1.22.0 before 1.23.6 contains a reachable assertion in ImageItem_Grid::decode_and_paste_tile_image() that allows attackers to crash applications by supplying grid images with oversized alpha planes. Attackers can craft a HEIF file containing a grid of uncompressed (unci) tiles with a 64-bit alpha component to terminate the decoding application or trigger an undefined shift.

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-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

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

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-617 The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in libheif 1.22.0 before 1.23.6 involves a reachable assertion failure in the ImageItem_Grid::decode_and_paste_tile_image() function. Attackers can exploit it by providing HEIF files with grid images containing oversized alpha planes, specifically using uncompressed tiles with a 64-bit alpha component. This causes the application to crash or trigger undefined behavior due to an invalid shift operation.

Detection Guidance

To detect this vulnerability, check the installed version of libheif on your system. Run: libheif-info --version or dpkg -l | grep libheif for Debian-based systems. If the version is below 1.23.6, the system is vulnerable. Additionally, monitor for crashes when processing HEIF files with alpha planes exceeding 16 bits.

Impact Analysis

This vulnerability allows attackers to crash applications processing HEIF files, leading to denial-of-service conditions. If exploited, it could disrupt services relying on libheif for image decoding, such as media players or image viewers. However, it does not appear to allow code execution or data theft based on the provided details.

Compliance Impact

This vulnerability primarily causes application crashes or undefined behavior when processing malformed HEIF files with oversized alpha planes. It does not directly expose or leak sensitive data, but denial-of-service conditions could disrupt services handling image processing, potentially impacting availability of systems subject to GDPR or HIPAA compliance.

Mitigation Strategies

Update libheif to version 1.23.6 or later to address the reachable assertion issue in ImageItem_Grid::decode_and_paste_tile_image().

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142503. 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...