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

Goal: 1000 CNY · Raised: 1110 CNY

100%

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

CVSS 6.5 · Medium EPSS 0.03% · P9

Possible ATT&CK Techniques 1AI

T1005 · Data from Local System

Affected Version Matrix 1

VendorProductVersion RangeStatus
strukturaglibheif< 1.22.0affected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
信息暴露
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
strukturaglibheif < 1.22.0 -

II. Public POCs for CVE-2026-32814

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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-327408.8 HIGHlibheif: Heap-Buffer-Overflow Write in Grid Tile Chroma Compositing
CVE-2026-327417.1 HIGHlibheif has a heap buffer overflow in decode_mask_image()
CVE-2026-328827.1 HIGHlibheif: Heap Buffer OOB Read in overlay compositing due to wrong alpha stride
CVE-2026-327386.5 MEDIUMlibheif has a Heap OOB Read/SEGV Crash via Zero samples_per_chunk
CVE-2026-327396.5 MEDIUMlibheif 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