CVE-2026-142500: Vulnerability in Strukturag Libheif
Patch soon. libheif 1.22.0 before 1.23.6 contains a memory exhaustion vulnerability in the uncompressed (unci) codec that bypasses the max_total_memory limit for image_tile compressed units. Attackers can supply a crafted 22 KB HEIF file whose tiles are re-inflated per component, causing multi-gigabyte allocations that exhaust memory in the decoding application.
CWE-770
- Exploitation
- None confirmed
- Severity
- 7.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-3m68-jpwj-qqgp
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-770
- Published
- 2 Dec 2026
- Last change
- 5 Dec 2026
Affected products
Affected versions and the first fixed release
- Strukturag Libheif From 1.22.0 before 1.23.6. Fixed in 1.23.6
Advisories
Vendor and security advisories
- github.com/strukturag/libheif/security/advisories/GHSA-fcmw-5764-7rq8
- github.com/strukturag/libheif/blob/v1.23.5/libheif/codecs/uncompressed/unc_decoder.cc
- vulncheck.com/advisories/libheif-1.22.0-before-1.23.6-memory-exhaustion-via-unci-decomp...
Patches and fixes
Updates, commits and release notes
- github.com/strukturag/libheif/commit/585607ac15c7391831360e19bed2422320362834
- github.com/strukturag/libheif/releases/tag/v1.23.6
Related
- Libheif vulnerabilities Recent advisories, watch this product