Description
libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.3, a crafted image item containing a clap property and an ispe width or height greater than INT32_MAX + 1 can reach crop calculations through heif_image_handle_get_image_tiling(). Box_clap::left_rounded() or Box_clap::top_rounded() passes the image dimension minus one to Fraction::Fraction(), whose uint32_t constructor uses an assertion as input validation, causing assert-enabled builds to abort. Release builds can instead compute invalid crop geometry, and the tiling API returns dimensions that the normal decode security limits reject. This issue is fixed in version 1.23.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| strukturag | libheif | >= 1.19.0, < 1.23.3 | — |
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.3-1 | — |
| Debian 13 | libheif | 1.23.4-1~deb13u1 | — |
| Debian 12 | libheif | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libheif | 1.23.4-150700.3.21.1 | SUSE-SU-2026:4276-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libheif | 1.23.4-1.1 | openSUSE-SU-2026:11719-1 |
| openSUSE Leap 16.0 | libheif | 1.23.4-160000.1.1 | openSUSE-SU-2026:21889-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libheif +3 | 1.23.4-1.amzn2023 | ALAS2023-2026-3124 |
Advisories 4
- ALAS2023-2026-3124 Important: libheif security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 28, 2026
- openSUSE-SU-2026:21889-1 Security update for libheif SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4276-1 Security update for libheif SUSE / openSUSE Security Updates · Sep 22, 2026
- openSUSE-SU-2026:11719-1 gdk-pixbuf-loader-libheif-1.23.4-1.1 on GA media SUSE / openSUSE Security Updates · Sep 9, 2026