Intel

AIKIDO-2026-471461

strukturag.libheif is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-4rv4-953r-p24q Published 3 days ago

69

Medium Risk

This Affects:

C++strukturag.libheif
1.20.0 - 1.23.3
Fixed in 1.23.4
Are you affected? Scan for Free

TL;DR

libheif allocates a heif_raw_sequence_sample with a deep-copied payload before several error-return paths in Track::get_next_sample_raw_data, and those paths return an error variant that cannot carry the pointer back, leaking the object and its payload on every error. The C entry point also lacks an exception guard, so an allocation failure can cross the extern "C" boundary and terminate the process. Repeatedly reading raw sequence samples from a crafted file exhausts memory or aborts. The fix uses owning pointers and adds an exception guard at the entry point.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application reads raw sequence samples through the heif_track_get_next_raw_sequence_sample API.

Background info

strukturag.libheif is vulnerable to Denial of Service (DoS) in versions 1.20.0 - 1.23.3.

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