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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-47714— libheif has integer overflow in inline mask size calculation that causes undersized buffer allocation

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.

strukturag libheif是strukturag的图像编解码库。 strukturag libheif 1.22.0之前版本存在数字错误漏洞,该漏洞源于libheif/region.cc中内联遮罩解析代码存在整数溢出,导致缓冲区分配不足,造成越界内存访问。

CVSS 6.1 · Medium EPSS 0.15% · P4

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

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-47714

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 has integer overflow in inline mask size calculation that causes undersized buffer allocation
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, the inline mask parsing code in `libheif/region.cc` contains an integer overflow. Both `width` and `height` are `unsigned int` (32-bit) values parsed from the HEIF file. Their product can exceed `UINT32_MAX`, wrapping to a small value before the division by 8. This causes an undersized buffer allocation, leading to out-of-bounds memory access when the mask data is later interpreted as a `width x height` bitmap. Version 1.22.0 patches the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
Source: CVE Program / CVE List V5
Vulnerability Title
strukturag libheif 数字错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
strukturag libheif是strukturag的图像编解码库。 strukturag libheif 1.22.0之前版本存在数字错误漏洞,该漏洞源于libheif/region.cc中内联遮罩解析代码存在整数溢出,导致缓冲区分配不足,造成越界内存访问。
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-47714

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

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

Vendor Advisories for CVE-2026-47714 (1)

Same Patch Batch · strukturag · 2026-07-21 · 8 CVEs total

CVE-2026-47247 7.5 HIGH libheif Vulnerable to Heap Information Disclosure via Grid Image Gap + Uninitialized Pixel
CVE-2026-45382 6.9 MEDIUM libde265 has a heap-buffer-overflow READ in decode_slice_unit_tiles via unvalidated PPS ti
CVE-2026-47178 6.1 MEDIUM libheif has Heap Out Of Bounds Write in unci subsystem
CVE-2026-47254 6.1 MEDIUM libheif Has Heap Buffer Overflow in `Track::get_next_sample_raw_data()` -- OOB Chunk Vecto
CVE-2026-45383 libde265 has a heap buffer overflow (OOB read) in decode_slice_unit_WPP() via out-of-bound
CVE-2026-47709 libheif has a NULL pointer dereference in heif_image_handle_get_image_tiling for malformed
CVE-2026-47251 libheif has an incomplete fix for CVE-2026-3949: integer overflow bypass in vvdec_push_dat

IV. Related Vulnerabilities

V. Comments for CVE-2026-47714

No comments yet


Leave a comment