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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| strukturag | libheif | >= 1.19.0, < 1.22.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libheif | 1.23.1-1 | — |
| Debian 13 | libheif | 1.19.8-1+deb13u1 | — |
| Debian 12 | libheif | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libheif | 1.21.2-3ubuntu0.2 | — |
| Ubuntu 25.10 | libheif | 1.20.2-1ubuntu0.5 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libheif | 1.23.0-150700.3.15.1 | SUSE-SU-2026:2622-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | libheif | 1.23.0-160000.1.1 | SUSE-SU-2026:22153-1 |
| SLES 16.0 | libheif | 1.23.0-160000.1.1 | SUSE-SU-2026:22153-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libheif | 1.22.2-1.1 | openSUSE-SU-2026:10878-1 |
| openSUSE Leap 16.0 | libheif | 1.23.0-160000.1.1 | openSUSE-SU-2026:20974-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libheif +3 | 1.19.8-1.amzn2023.0.6 | ALAS2023-2026-1919 |
Advisories 5
- ALAS2023-2026-1919 Important: libheif security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 7, 2026
- SUSE-SU-2026:2622-1 Security update for libheif SUSE / openSUSE Security Updates · Jun 25, 2026
- openSUSE-SU-2026:20974-1 Security update for libheif SUSE / openSUSE Security Updates · Jun 24, 2026
- SUSE-SU-2026:22153-1 Security update for libheif SUSE / openSUSE Security Updates · Jun 24, 2026
- openSUSE-SU-2026:10878-1 gdk-pixbuf-loader-libheif-1.22.2-1.1 on GA media SUSE / openSUSE Security Updates · May 29, 2026