CVE-2026-142500

high

Description

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.

References

https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.6-memory-exhaustion-via-unci-decompressed-tile-data

https://github.com/strukturag/libheif/security/advisories/GHSA-fcmw-5764-7rq8

https://github.com/strukturag/libheif/releases/tag/v1.23.6

https://github.com/strukturag/libheif/commit/585607ac15c7391831360e19bed2422320362834

https://github.com/strukturag/libheif/blob/v1.23.5/libheif/codecs/uncompressed/unc_decoder.cc#L134-L160

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-141724

Details

Source: Mitre, NVD

Published: 2026-12-02

Updated: 2026-12-05

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium

CVSS v4

Base Score: 7.1

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

Severity: High

EPSS

EPSS: 0.00637