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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-84448— libheif: Heap out-of-bounds read in libheif inline-mask region API (heif_region_item_add_region_inline_mask_data / heif_region_get_mask_image)

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 是一种 HEIF 和 AVIF 文件格式的解码器和编码器。在 1.23.2 版本之前,libheif/api/libheif/heif_regions.cc 中的公开函数 在接收 参数时,未验证其是否等于由宽度和高度所要求的字节数。随后调用 时,读取长度会根据区域几何信息推导,因此当存储的缓冲区小于所需大小时, 会读取超出堆分配范围,并将相邻字节复制到返回的单色掩码图像中。这可能会泄露堆数据或导致通过写入器 API 构建区域元数据的应用程序崩溃,而文件解析路径不受影响,因为该路径会验证标准掩码大小。

CVSS 4.0 · Medium EPSS 0.19% · P8

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-84448

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: Heap out-of-bounds read in libheif inline-mask region API (heif_region_item_add_region_inline_mask_data / heif_region_get_mask_image)
Source: CVE Program / CVE List V5
Vulnerability Description
libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.23.2, the public heif_region_item_add_region_inline_mask_data() function in libheif/api/libheif/heif_regions.cc accepts mask_data_len without verifying that it equals the byte count required by width and height. A later heif_region_get_mask_image() call derives the read length from the region geometry, so an undersized stored buffer causes heif_region_get_inline_mask_image() to read beyond the heap allocation and copy adjacent bytes into the returned monochrome mask image. This can disclose heap data or crash an application that constructs region metadata through the writer API, while the file-parsing path is not affected because it validates the canonical mask size. This issue is fixed in version 1.23.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
strukturag libheif < 1.23.2 -

II. Public POCs for CVE-2026-84448

# 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-84448

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

Patches & Fixes for CVE-2026-84448 (1)

Other References for CVE-2026-84448 (2)

Same Patch Batch · strukturag · 2026-09-18 · 9 CVEs total

CVE-2026-84383 9.8 CRITICAL libheif: Heap buffer overflow in `scale_nearest_neighbor()` via duplicate Alpha planes fro
CVE-2026-84447 7.5 HIGH libheif: Derived-image indirect reference chains and tiled offsets bypass decode caching a
CVE-2026-84446 7.5 HIGH libheif: Sequence decode timing-table initialization allows non-terminating loops and unbo
CVE-2026-84384 7.5 HIGH libheif: brotli/zlib decompression paths lack output-size limits, allowing decompression-b
CVE-2026-84444 7.4 HIGH libheif uncompressed tiled image encoding allows out-of-bounds write
CVE-2026-84451 6.5 MEDIUM libheif: Incomplete fix for CVE-2026-62292 leaves libheif vulnerable to an out-of-bounds r
CVE-2026-84450 4.3 MEDIUM libheif: `clap` + oversized `ispe` aborts on an assert in `Fraction::Fraction` (incomplete
CVE-2026-84449 3.7 LOW libheif hOp_RGB24_32_to_YCbCr Memory Access Error / SEGV

IV. Related Vulnerabilities