CVE-2026-47709: CWE-476: NULL Pointer Dereference in strukturag libheif
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.
AI Analysis
Technical Summary
The vulnerability in strukturag libheif affects versions before 1.22.0 in the heif_image_handle_get_image_tiling() API. When a malformed uncompressed HEIF image item includes an uncC property but no ispe property, the code triggers an assertion failure in debug builds and a NULL pointer dereference in release builds, leading to a crash or memory access violation. This is tracked as CWE-476 (NULL Pointer Dereference). The issue is fixed in version 1.22.0.
Potential Impact
Exploitation of this vulnerability can cause the affected application to crash due to a NULL pointer dereference when processing specially crafted malformed HEIF images. This may lead to denial of service. There is no indication of code execution or data corruption beyond the crash.
Mitigation Recommendations
Upgrade to libheif version 1.22.0 or later, where this NULL pointer dereference issue is fixed. No other mitigation or workaround is documented. Patch status is confirmed by the vendor advisory indicating the fix in version 1.22.0.
CVE-2026-47709: CWE-476: NULL Pointer Dereference in strukturag libheif
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.
CVSS v4.0
Score 6.9medium
Affected software
pkg:github/strukturag/libheifRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in strukturag libheif affects versions before 1.22.0 in the heif_image_handle_get_image_tiling() API. When a malformed uncompressed HEIF image item includes an uncC property but no ispe property, the code triggers an assertion failure in debug builds and a NULL pointer dereference in release builds, leading to a crash or memory access violation. This is tracked as CWE-476 (NULL Pointer Dereference). The issue is fixed in version 1.22.0.
Potential Impact
Exploitation of this vulnerability can cause the affected application to crash due to a NULL pointer dereference when processing specially crafted malformed HEIF images. This may lead to denial of service. There is no indication of code execution or data corruption beyond the crash.
Mitigation Recommendations
Upgrade to libheif version 1.22.0 or later, where this NULL pointer dereference issue is fixed. No other mitigation or workaround is documented. Patch status is confirmed by the vendor advisory indicating the fix in version 1.22.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T21:29:25.481Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fe6d29c2644c7f8cb0a2b
Added to database: 07/21/2026, 21:38:26 UTC
Last enriched: 07/22/2026, 08:54:39 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.