{"id":"CVE-2026-47709","state":"PUBLISHED","title":"libheif has a NULL pointer dereference in heif_image_handle_get_image_tiling for malformed unci image missing ispe","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.","publishedAt":"2026-07-21T21:31:14.724Z","updatedAt":"2026-07-22T15:06:56.971Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["strukturag libheif"],"affected":[{"vendor":"strukturag","product":"libheif","versions":[{"version":"< 1.22.0","status":"affected"}]}],"references":["https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376","https://github.com/strukturag/libheif/issues/1802","https://github.com/strukturag/libheif/pull/1806"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47709.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47709","state":"PUBLISHED","datePublished":"2026-07-21T21:31:14.724Z","dateUpdated":"2026-07-22T15:06:56.971Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-19T21:29:25.481Z"},"containers":{"cna":{"title":"libheif has a NULL pointer dereference in heif_image_handle_get_image_tiling for malformed unci image missing ispe","descriptions":[{"lang":"en","value":"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":[{"vendor":"strukturag","product":"libheif","versions":[{"version":"< 1.22.0","status":"affected"}]}],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376","name":"https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/strukturag/libheif/issues/1802","name":"https://github.com/strukturag/libheif/issues/1802","tags":["x_refsource_MISC"]},{"url":"https://github.com/strukturag/libheif/pull/1806","name":"https://github.com/strukturag/libheif/pull/1806","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476: NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-21T21:31:14.724Z"},"source":{"advisory":"GHSA-4h72-vqgp-9376","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-4h72-vqgp-9376","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-22T15:06:33.485963Z","id":"CVE-2026-47709","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-22T15:06:56.971Z"}}]}}}