Description
There is a vulnerability in the strided image data parsing code in the emscripten wrapper for libheif. An attacker could exploit this through a crafted image file to cause a buffer overflow in linear memory during a memcpy call.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Struktur | libheif | 1.14.2 | — |
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.15.1-1 | — |
| Debian 13 | libheif | 1.15.1-1 | — |
| Debian 12 | libheif | 1.15.1-1 | — |
| Debian 11 | libheif | 1.11.0-1+deb11u2 | DLA-3945-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | libheif | 1.12.0-2ubuntu0.1~esm1 | USN-6847-1 |
| Ubuntu Pro 20.04 LTS | libheif | 1.6.1-1ubuntu0.1~esm1 | USN-6847-1 |
| Ubuntu Pro 18.04 LTS | libheif | 1.1.0-2ubuntu0.1~esm1 | USN-6847-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libheif | 1.12.0-150400.3.8.1 | SUSE-SU-2023:1766-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.4 | libheif | 1.12.0-150400.3.8.1 | SUSE-SU-2023:1766-1 |
Advisories 4
- USN-6847-1 libheif vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3945-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-2023:1766-1 Security update for libheif SUSE / openSUSE Security Updates · Feb 4, 2026