libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.19.0 through 1.21.2, a crafted HEIF file (uncompressed `unci` codec, tiled, component-interleaved, 4:2:0) triggers a heap out-of-bounds write in libheif's uncompressed tile decoder. The write overwrites the C++ vtable pointer of an adjacent `unc_decoder_component_interleave` object; the next virtual call dispatches to an attacker-chosen address. Version 1.22.0 patches the issue.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/strukturag/libheif/security/advisories/GHSA-5x55-x5pf-9c6g Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.8 · strukturNVD modified 2026-10-24 19:10
Affected (CPE criteria) 1
cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*
References 1
- https://github.com/strukturag/libheif/security/advisories/GHSA-5x55-x5pf-9c6g Exploit, Vendor Advisory