CVE-2026-47709 PUBLISHED

libheif has a NULL pointer dereference in heif_image_handle_get_image_tiling for malformed unci image missing ispe

Assigner: GitHub_M
Reserved: 19.05.2026 Published: 21.07.2026 Updated: 22.07.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor strukturag
Product libheif
Versions
  • Version < 1.22.0 is affected

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE