NULL pointer dereference in Struktur Libheif
CVE-2026-47709
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.
EPSS: 0.002 (11.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
Affected products
- Struktur Libheif
- Strukturag Libheif — versions < 1.22.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Mitigation, Vendor Advisory)
- security-advisories@github.com (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- security-advisories@github.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2026-47709?
- CVE-2026-47709 is a medium-severity vulnerability in Struktur Libheif, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2026-07-21.
- How severe is CVE-2026-47709?
- Medium severity. CVSS v3 base score is 5.5 out of 10.