Intel

AIKIDO-2026-713448

strukturag.libheif is vulnerable to Out-of-bounds Write

Out-of-bounds WriteGHSA-j264-xvrp-5v7q Published 6 days ago

74

High Risk

This Affects:

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

TL;DR

libheif's uncompressed (unci) tiled encoder does not verify that a supplied image's component-plane dimensions match the declared tile size. When an application adds an image tile whose planes are larger than the declared tile, the output buffer is sized from the declared dimensions while data is copied using the actual plane dimensions. This mismatch causes a heap out-of-bounds write during encoding. The fix validates component-plane sizes against the tile geometry before encoding.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the uncompressed (unci) tiled encoder API to add image tiles built from untrusted or mismatched-size image planes.

Background info

strukturag.libheif is vulnerable to Out-of-bounds Write in versions 0.0.1 - 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