Intel

AIKIDO-2026-232750

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

Out-of-bounds ReadGHSA-4fhr-mmvh-8j4m Published 6 days ago

75

High Risk

This Affects:

C++strukturag.libheif
1.17.0 - 1.18.1
Fixed in 1.18.2
Are you affected? Scan for Free

TL;DR

libheif selects its YCbCr-to-RGB color-conversion routine using the reported bits-per-pixel. For uncompressed (unci) images with an odd component bit depth, the wide 16-bit conversion path is chosen for data stored one byte per pixel, miscomputing strides. Decoding such an image causes a heap out-of-bounds read that can crash the process or disclose adjacent heap memory. The fix selects the conversion routine using the storage bit depth.

Who does this affect?

You are affected if you decode untrusted or externally influenced uncompressed (unci) HEIF images with an odd component bit depth on a version in the vulnerable range.

Background info

strukturag.libheif is vulnerable to Out-of-bounds Read in versions 1.17.0 - 1.18.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