CVE-2026-62292
NoneCVSS
—
EPSS
0.6%
Published
Aug 18, 2026
CISA due date
—
Cloudanix analysis
A flaw in an image library can make programs that handle certain photo files suddenly stop working when they try to read a specially made file.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer wraparound in unc_decoder::fetch_tile_data and get_compressed_image_data_uncompressed allows an advertised tile (4095,4095) to produce a zero offset that bypasses bounds checks, passing an invalid pointer and 1 TB length to memcpy and resulting in an out-of-bounds read and process crash on tile decode.
Why it matters to the business
Applications that decode HEIF/AVIF images can be forced to crash, causing denial of service for image-processing services, media pipelines, or user-facing viewers that accept untrusted files.
How an attack unfolds
An attacker creates a specially crafted uncompressed HEIF file containing a generic zlib unci full-item tile at the maximum advertised coordinates; when the victim application calls heif_image_handle_decode_image_tile on that tile, the wraparound occurs and the memcpy triggers the crash. No user interaction beyond opening and decoding the file is required.
How to fix it
Upgrade libheif to version 1.23.1 or later. Rebuild and redeploy any dependent applications or containers. If immediate upgrade is not possible, disable or sandbox tile-decoding functionality for untrusted input.
How to confirm the fix worked
Confirm installed version is 1.23.1 or newer; run the application against a test file containing the maximum advertised tile under uncompressed generic-zlib compression and verify no crash occurs.
Typical attack path
- Attacker crafts malicious HEIF/AVIF file with oversized uncompressed tile metadata
- File is delivered to the target via upload, email attachment, web page, or storage share
- Target application loads the file and reaches tile-decoding code path
- Integer wraparound bypasses range check and invokes memcpy with invalid pointer and huge length
- Process crashes with out-of-bounds read
How to detect it
Review application and system logs for abrupt crashes or segmentation faults during HEIF/AVIF tile decoding; correlate with file-upload or processing events involving libheif versions between 1.19.0 and 1.23.0.
What your security team should do
- Prioritize upgrade of libheif to 1.23.1 across all image-processing services within the next patch cycle
- Add libheif version checks to dependency scanners and CI pipelines
- Restrict or sandbox decoding of untrusted HEIF/AVIF content until patched
- Monitor application crash logs for repeated tile-decoding failures
The record
libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.1, a crafted uncompressed HEIF image using generic zlib unci full-item compression can crash an application that decodes an advertised tile with heif_image_handle_decode_image_tile(). In libheif/codecs/uncompressed/unc_decoder.cc, unc_decoder::fetch_tile_data() computes a large tile offset and unc_decoder::get_compressed_image_data_uncompressed() validates it with range_start_offset plus range_size. For the last advertised tile (4095, 4095), the addition can wrap to zero, bypass the bounds check, and pass an invalid source pointer and a one-terabyte length to memcpy. The observed result is an out-of-bounds read and process crash; opening the file alone does not trigger the issue because tile decoding is required. This issue is fixed in version 1.23.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-118237 An out-of-bounds read vulnerability was identified in GitHub Enterprise Server in the Git… CWE-125
- CVE-2026-121208 Out of bounds read in Media in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-125
- CVE-2026-121197 Out of bounds read in ANGLE in Google Chrome on on Mac prior to 157.0.8103.38 allowed a… CWE-125
- CVE-2026-121184 Out of bounds read in Media in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-125
- CVE-2026-121160 Out of bounds read in Skia in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-125
- CVE-2026-121140 Out of bounds read in Internals in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-125
- CVE-2026-121112 Out of bounds read in Permissions in Google Chrome prior to 157.0.8103.38 allowed a… CWE-125
- CVE-2026-121093 Out of bounds read in Animation in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-125