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 score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-125 — CWE-125: Out-of-bounds Read
- CWE-191 — CWE-191: Integer Underflow (Wrap or Wraparound)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | >= 1.19.0, < 1.22.0 |
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-6x5f-qchq-cxqv (x_refsource_CONFIRM)
- https://github.com/strukturag/libheif/commit/e523ec0bf379110b7c33d4c159f8b1202d332157 (x_refsource_MISC)
Generated from the official CVE List on 23 Jul 2026 07:04 UTC.