Intel

AIKIDO-2026-167725

strukturag.libheif is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionGHSA-24wx-9w62-c96w Published 6 days ago

75

High Risk

This Affects:

C++strukturag.libheif
1.19.0 - 1.23.1
Fixed in 1.23.2
Are you affected? Scan for Free

TL;DR

libheif decompresses brotli- and zlib-compressed metadata items while opening a file without enforcing any output-size limit. A HEIF file carrying a highly compressed mime item expands to an enormous buffer, and the allocations bypass the configured memory budget. Opening such a file drives unbounded memory allocation and an out-of-memory crash before any decode step runs. The fix caps decompressed output size and routes the allocations through the memory-limit handler.

Who does this affect?

You are affected if you open or parse untrusted or externally influenced HEIF files with a vulnerable version.

Background info

strukturag.libheif is vulnerable to Uncontrolled Resource Consumption in versions 1.19.0 - 1.23.1.

How to fix this

Upgrade the strukturag.libheif library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform