Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-32814— libheif: Uninitialized Heap Memory Information Leak via Failed Grid Tiles

Quick assessment

Affected
strukturag libheif
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libheif是struktur开源的一款 ISO/IEC 23008-12:2017 HEIF 文件格式解码器和编码器。 libheif 1.21.2及之前版本存在信息泄露漏洞,该漏洞源于解码网格图像时失败瓦片区域未初始化,导致堆内存信息泄露。

CVSS 6.5 · Medium EPSS 0.39% · P31

Possible ATT&CK Techniques 1 AI

T1005 · Data from Local System

Affected Version Matrix 1

VendorProduct Version RangeStatus
strukturag libheif < 1.22.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-32814

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
libheif: Uninitialized Heap Memory Information Leak via Failed Grid Tiles
Source: CVE Program / CVE List V5
Vulnerability Description
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, when decoding a HEIF grid image with strict_decoding=false (the default), a corrupted tile silently fails to decode and the library returns heif_error_Ok with no indication of failure, leading to an uninitialized heap memory information leak. The canvas is allocated via create_clone_image_at_new_size() → plane.alloc() → new (std::nothrow) uint8_t[allocation_size] which does not zero the memory; only the alpha plane is explicitly initialized via fill_plane(), so the Y, Cb, and Cr planes contain whatever was previously at that heap address. The failed tile's region of the canvas is never written. It retains uninitialized heap data that is delivered to the caller as decoded pixel values (4,096 bytes per Y/Cb/Cr plane = 12,288+ bytes total). Any application using libheif to decode grid-based HEIF/AVIF files with default settings is vulnerable: a crafted .heic or .avif file causes 4,096+ bytes of heap memory to appear as pixel values in the decoded image, and the calling application receives heif_error_Ok, so it has no indication the output contains heap garbage. In server-side image processing, an uploaded crafted HEIF decoded and re-encoded (e.g., as PNG/JPEG for thumbnails, CDN, social media) can leak cross-user data such as auth tokens, database results, and other users' image data. This issue has been fixed in version 1.22.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
libheif 信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libheif是struktur开源的一款 ISO/IEC 23008-12:2017 HEIF 文件格式解码器和编码器。 libheif 1.21.2及之前版本存在信息泄露漏洞,该漏洞源于解码网格图像时失败瓦片区域未初始化,导致堆内存信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
strukturag libheif < 1.22.0 -

II. Public POCs for CVE-2026-32814

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-32814

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-32814 (1)

Vendor Pages for CVE-2026-32814 (1)

Same Patch Batch · strukturag · 2026-05-19 · 6 CVEs total

CVE-2026-32740 8.8 HIGH libheif: Heap-Buffer-Overflow Write in Grid Tile Chroma Compositing
CVE-2026-32741 7.1 HIGH libheif has a heap buffer overflow in decode_mask_image()
CVE-2026-32882 7.1 HIGH libheif: Heap Buffer OOB Read in overlay compositing due to wrong alpha stride
CVE-2026-32738 6.5 MEDIUM libheif has a Heap OOB Read/SEGV Crash via Zero samples_per_chunk
CVE-2026-32739 6.5 MEDIUM libheif is Vulnerable to Infinite Loop DoS via stts Sample Duration Lookup

IV. Related Vulnerabilities

V. Comments for CVE-2026-32814

No comments yet


Leave a comment