CVE-2026-142493
Deferred Deferred - Pending Action

Out-of-Bounds Read in libheif WebCodecs HEVC Decoder

Vulnerability report for CVE-2026-142493, 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.21.0 before 1.23.4 contains an out-of-bounds read vulnerability in the WebCodecs HEVC decoder plugin that allows attackers to disclose heap memory via crafted HEIF files. Attackers can set an HEVC SPS conformance window so codedWidth and codedHeight exceed the visible rectangle, causing megabyte-scale heap over-reads returned as decoded image pixels.

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.21.0 (inc) to 1.23.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-142493 is an out-of-bounds read vulnerability in libheif's WebCodecs HEVC decoder plugin. It occurs when crafted HEIF files manipulate the HEVC SPS conformance window to make codedWidth and codedHeight exceed the visible rectangle. This causes the plugin to read beyond allocated memory, returning heap data as decoded image pixels.

Detection Guidance

To detect this vulnerability, check the installed version of libheif. If it is below 1.23.4, the system is vulnerable. Use commands like 'apt list --installed | grep libheif' for Debian-based systems or 'rpm -qa | grep libheif' for RPM-based systems to verify the version.

Impact Analysis

This vulnerability allows attackers to disclose heap memory by tricking users into processing malicious HEIF files. The leaked data could include sensitive information like passwords or encryption keys. It may also cause application crashes or unexpected behavior in software using libheif for HEVC decoding.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Organizations processing HEIF files may face compliance violations if exploited, potentially resulting in legal penalties or reputational damage.

Mitigation Strategies

Upgrade libheif to version 1.23.4 or later immediately. Disable the WebCodecs HEVC decoder plugin if not required by setting WITH_WEBCODECS=OFF during compilation. Monitor for suspicious HEIF files and restrict access to image processing functions.

Chat Assistant

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