Description
libheif is a HEIF and AVIF file format decoder and encoder. Versions prior to 1.22.0 crashes in the public C API `heif_image_handle_get_image_tiling()` when a malformed uncompressed HEIF image item has an associated `uncC` property but no associated `ispe` property. In debug builds this trips the `ispe && uncC` assertion in `ImageItem_uncompressed::get_heif_image_tiling()`. In a release/NDEBUG ASan build, the same file causes a null pointer read at address `0xa8`. Version 1.22.0 fixes the issue.
Published: 2026-07-21
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

libheif, a HEIF and AVIF format decoder and encoder, contains a null pointer dereference in the public API function heif_image_handle_get_image_tiling(). The flaw is triggered when a malformed uncompressed HEIF image includes an uncC property but omits the required ispe property. In such cases the library reads a null pointer, leading to a crash; debug builds trigger an assertion, while release builds dereference address 0xa8. The defect, a result of missing null‑check handling, is classified as CWE‑476.

Affected Systems

strukturag libheif versions prior to 1.22.0 are affected. Any application that statically or dynamically links against these versions of the library and processes HEIF files received from untrusted sources is vulnerable.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity, while the EPSS score of less than 1% suggests a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by supplying a crafted HEIF file lacking an "ispe" property to an application using the vulnerable library, causing that application to crash and resulting in a denial of service.

Generated by OpenCVE AI on July 30, 2026 at 16:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to libheif 1.22.0 or a later release that contains the fix.
  • Validate HEIF files against the specification prior to feeding them to the library, ensuring required properties are present.
  • When immediate upgrade is not possible, run the dependent application in a restricted sandbox to contain potential crashes.

Generated by OpenCVE AI on July 30, 2026 at 16:09 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
Ubuntu USN Ubuntu USN USN-8526-2 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 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 21 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description libheif is a HEIF and AVIF file format decoder and encoder. Versions prior to 1.22.0 crashes in the public C API `heif_image_handle_get_image_tiling()` when a malformed uncompressed HEIF image item has an associated `uncC` property but no associated `ispe` property. In debug builds this trips the `ispe && uncC` assertion in `ImageItem_uncompressed::get_heif_image_tiling()`. In a release/NDEBUG ASan build, the same file causes a null pointer read at address `0xa8`. Version 1.22.0 fixes the issue.
Title libheif has a NULL pointer dereference in heif_image_handle_get_image_tiling for malformed unci image missing ispe
Weaknesses CWE-476
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Struktur Libheif
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T15:06:56.971Z

Reserved: 2026-05-19T21:29:25.481Z

Link: CVE-2026-47709

cve-icon Vulnrichment

Updated: 2026-07-22T15:06:51.686Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-21T22:17:13.097

Modified: 2026-07-27T15:17:57.187

Link: CVE-2026-47709

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T16:15:04Z

Weaknesses