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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/strukturag/libheif/pull/1806 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376 Exploit, Vendor Advisory, Mitigation
- https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376 Exploit, Vendor Advisory, Mitigation
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.9 · strukturNVD modified 2026-10-24 19:10
Affected (CPE criteria) 1
cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*
References 4
- https://github.com/strukturag/libheif/issues/1802 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/strukturag/libheif/pull/1806 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376 Exploit, Vendor Advisory, Mitigation
- https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376 Exploit, Vendor Advisory, Mitigation