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.
Published: 2026-07-22
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

libheif is a decoder and encoder for HEIF and AVIF image formats. In versions 1.19.0 through 1.21.2 a heap out‑of‑bounds read occurs in ImageItem_Grid::decode_grid_tile when an irot value causes a tile‑coordinate underflow. A malicious HEIF or AVIF file containing such an underflowing coordinate can make the library read beyond allocated memory, potentially exposing confidential data from the process heap, which may lead to information disclosure. Version 1.22.0 resolves the problem.

Affected Systems

The affected product is strukturag:libheif. Versions 1.19.0 through 1.21.2 are vulnerable, and the issue is fixed in libheif 1.22.0 and later.

Risk and Exploitability

The CVSS score is 7.1, indicating a high severity. The EPSS score is below 1%, suggesting a low probability of widespread exploitation at present, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a crafted HEIF/AVIF file to an application that uses the vulnerable libheif build. The likely attack vector is remote, via any component that decodes untrusted image data, or local if the attacker can influence image input to the host system. The absence of a public exploit but the presence of a low EPSS indicates that defensive measures remain prudent.

Generated by OpenCVE AI on August 3, 2026 at 23:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libheif to version 1.22.0 or later to address the out‑of‑bounds read associated with CWE‑125 and the coordinate underflow linked to CWE‑191.
  • If an upgrade cannot be performed immediately, disable or remove HEIF/AVIF image processing in all applications that rely on the vulnerable libheif build to eliminate the attack surface.
  • Configure image‑decoding components to run with least privilege and sandboxed environments to limit the impact of any residual vulnerability.

Generated by OpenCVE AI on August 3, 2026 at 23:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6417-1 libheif security update
Ubuntu USN Ubuntu USN USN-8526-1 libheif vulnerabilities
History

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Struktur
Struktur libheif
Vendors & Products Struktur
Struktur libheif

Wed, 22 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title libheif: heap OOB read in ImageItem_Grid::decode_grid_tile via irot-induced tile-coordinate underflow
Weaknesses CWE-125
CWE-191
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}


Subscriptions

Struktur Libheif
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T15:20:39.509Z

Reserved: 2026-05-20T17:44:09.587Z

Link: CVE-2026-48029

cve-icon Vulnrichment

Updated: 2026-07-22T15:20:32.142Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T15:17:18.357

Modified: 2026-08-06T00:56:27.330

Link: CVE-2026-48029

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:45:06Z

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-191

    Integer Underflow (Wrap or Wraparound)