Vulnerability · Published Jul 21, 2026 · Assigned by GitHub_M
CVE-2026-47709libheif has a NULL pointer dereference in heif_image_handle_get_image_tiling for malformed unci image missing ispe
Medium 6.9
In plain English
A medium-severity null pointer dereference in libheif from strukturag. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libheif | no fix listed | DEBIAN-CVE-2026-47709 |
| Debian:13 | libheif | 1.19.8-1+deb13u1 | DEBIAN-CVE-2026-47709 |
| Debian:14 | libheif | 1.23.1-1 | DEBIAN-CVE-2026-47709 |
| Ubuntu:24.04:LTS | libheif | 1.17.6-1ubuntu4.6 | UBUNTU-CVE-2026-47709 |
| Ubuntu:25.10 | libheif | 1.20.2-1ubuntu0.6 | UBUNTU-CVE-2026-47709 |
| Ubuntu:26.04:LTS | libheif | 1.21.2-3ubuntu0.3 | UBUNTU-CVE-2026-47709 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | < 1.22.0 |
Weakness: CWE-476 · 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
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376 x_refsource_CONFIRM
- https://github.com/strukturag/libheif/issues/1802 x_refsource_MISC
- https://github.com/strukturag/libheif/pull/1806 x_refsource_MISC