| Name | CVE-2026-47178 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6417-1 |
| Debian Bugs | 1140223 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libheif (PTS) | bookworm, bookworm (security) | 1.15.1-1+deb12u1 | fixed |
| trixie (security), trixie | 1.23.6-2~deb13u1 | fixed | |
| forky, sid | 1.23.7-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libheif | source | bookworm | (not affected) | |||
| libheif | source | trixie | 1.19.8-1+deb13u1 | DSA-6417-1 | ||
| libheif | source | (unstable) | 1.23.1-1 | 1140223 |
[bookworm] - libheif <not-affected> (Vulnerable code introduced later)
https://project-zero.issues.chromium.org/issues/507396184
https://github.com/strukturag/libheif/security/advisories/GHSA-5x55-x5pf-9c6g
Fixed by: https://github.com/strukturag/libheif/commit/62d60530610110fc7bc6d08ff30f2cf23917a1eb (v1.22.0)
Introduced by: https://github.com/strukturag/libheif/commit/f740c0d2661b433945d02c3ced5d0f7bd29641aa (v1.16.0)