Description

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.19.0 through 1.21.2 have a heap OOB read in ImageItem_Grid::decode_grid_tile via irot-induced tile-coordinate underflow. Version 1.22.0 fixes the issue.

Severity (CVSS)

Base score7.1
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Provided byCNA

Weaknesses

  • CWE-125 — CWE-125: Out-of-bounds Read
  • CWE-191 — CWE-191: Integer Underflow (Wrap or Wraparound)

Affected products

VendorProductVersions
strukturaglibheif>= 1.19.0, < 1.22.0

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 23 Jul 2026 07:04 UTC.