Description
In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing an overlay image with forged offsets can lead to an out-of-bounds read and write.
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.18.1-1 | — |
| Debian 13 | libheif | 1.18.1-1 | — |
| Debian 12 | libheif | 1.15.1-1+deb12u1 | DSA-5796-1 |
| Debian 11 | libheif | 1.11.0-1+deb11u1 | DLA-3934-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | libheif | 1.17.6-1ubuntu4.1 | USN-7082-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | libheif | 1.12.0-150400.3.14.1 | SUSE-SU-2024:3960-1 |
| SLES 15 SP5 | libheif | 1.12.0-150400.3.14.1 | SUSE-SU-2024:3960-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libheif | 1.19.5-2.1 | openSUSE-SU-2024:14579-1 |
| openSUSE Leap 15.6 | libheif | 1.12.0-150400.3.14.1 | SUSE-SU-2024:3960-1 |
| openSUSE Leap 15.5 | libheif | 1.12.0-150400.3.14.1 | SUSE-SU-2024:3960-1 |
Advisories 7
- NCSC-2026-0448 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Oct 22, 2026
- WID-SEC-2026-4078 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 20, 2026
- USN-7082-1 libheif vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5796-1 libheif - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3934-1 libheif - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:14579-1 gdk-pixbuf-loader-libheif-1.19.5-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3960-1 Security update for libheif SUSE / openSUSE Security Updates · Feb 4, 2026