strukturag.libheif is vulnerable to Denial of Service (DoS)
69
Medium Risk
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.
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.
strukturag.libheif is vulnerable to Denial of Service (DoS) in versions 1.20.0 - 1.23.3.
Upgrade the strukturag.libheif library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.