
CVE catalog
CVE-2026-32740
libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 6
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.68% · Oct 25, 2026
libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libheif | sid | 1.23.6-2 | fixed |
| Debian | libheif | forky | 1.23.6-2 | fixed |
| Debian | libheif | trixie | 1.19.8-1+deb13u1 | fixed |
| Debian | libheif | trixie-security | 1.23.6-2~deb13u1 | fixed |
| Debian | libheif | bookworm | 1.15.1-1+deb12u1 | vulnerable |
| Debian | libheif | bookworm-security | 1.15.1-1+deb12u1 | vulnerable |
| Cpe | libheif | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | heif-gdk-pixbuf | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | heif-thumbnailer | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-dev | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-examples | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-aomdec | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-aomenc | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-dav1d | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-ffmpegdec | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-j2kdec | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-j2kenc | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-jpegdec | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-jpegenc | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-libde265 | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-rav1e | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-svtenc | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif-plugin-x265 | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif1 | Not reported | 1.17.6-1ubuntu4.4 | fixed |
| Cpe | libheif | Not reported | Not reported | vulnerable |
| Cpe | libheif | Not reported | 1.22.0 | fixed |
| Alpine | libheif | 3.23 | 1.23.0-r0 | fixed |
| Ubuntu | libheif | 25.10 | 1.19.7-1 | vulnerable |
| Ubuntu | libheif | 25.10 | 1.19.8-1 | vulnerable |
| Ubuntu | libheif | 25.10 | 1.20.2-1 | vulnerable |
| Ubuntu | libheif | 25.10 | 1.20.2-1ubuntu0.1 | vulnerable |
| Ubuntu | libheif | 25.10 | 1.20.2-1ubuntu0.3 | vulnerable |
| Ubuntu | libheif | 25.10 | 1.20.2-1ubuntu0.4 | fixed |
| Ubuntu | libheif | 26.04 | 1.20.2-1 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.20.2-2 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.20.2-2build1 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.20.2-2build2 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.20.2-2ubuntu1 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.21.2-1 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.21.2-3 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.21.2-3ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libheif | source | sid | 1.23.1-1 | not yet assigned | Not reported | [1137524] |
| Debian | libheif | source | forky | 1.23.1-1 | not yet assigned | Not reported | [1137524] |
| Debian | libheif | source | trixie | 1.19.8-1+deb13u1 | not yet assigned | Not reported | [1137524] |
| Debian | libheif | source | bookworm | (unfixed) | not yet assigned | Not reported | [1137524] |
| Cpe | libheif | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | heif-gdk-pixbuf | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | heif-thumbnailer | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-dev | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-examples | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-aomdec | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-aomenc | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-dav1d | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-ffmpegdec | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-j2kdec | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-j2kenc | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-jpegdec | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-jpegenc | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-libde265 | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-rav1e | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-svtenc | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif-plugin-x265 | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif1 | cpe | Not reported | 1.17.6-1ubuntu4.4 | Not reported | Not reported | Not reported |
| Cpe | libheif | cpe | Not reported | 1.22.0 | Not reported | Not reported | Not reported |
| Alpine | libheif | apk | 3.23 | 1.23.0-r0 | Not reported | ALPINE-CVE-2026-32740 | Not reported |
| Ubuntu | libheif | deb | 25.10 | 1.20.2-1ubuntu0.4 | Not reported | UBUNTU-CVE-2026-32740 | Not reported |
| Ubuntu | libheif | deb | 26.04 | 1.21.2-3ubuntu0.1 | Not reported | UBUNTU-CVE-2026-32740 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [heif-gdk-pixbuf]Affected
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [heif-thumbnailer]Affected
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif1]Affected
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-dev]Affected
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-examples]Affected
Source package: [libheif]
Details (6)
1.15.1-1+deb12u1· amd64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookwormAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· amd64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.15.1-1+deb12u1· arm64 · bookworm-securityAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-aomdec]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-aomenc]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-dav1d]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-ffmpegdec]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-j2kdec]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-j2kenc]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-jpegdec]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-jpegenc]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-libde265]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-rav1e]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugins-all]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-svtenc]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
- [libheif-plugin-x265]Affected
Source package: [libheif]
Details (2)
1.19.7-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
1.19.7-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · libheif · debian · bookworm; nvd · libheif · debian · 12
[Debian 13 (Trixie)]
- [heif-gdk-pixbuf]Affected
Source package: [libheif]
Details (6)
1.19.8-1· amd64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1· arm64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.4-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.6-2~deb13u1· amd64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
- [heif-thumbnailer]Affected
Source package: [libheif]
Details (6)
1.19.8-1· amd64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1· arm64 · trixieAffected · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.19.8-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.4-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
1.23.6-2~deb13u1· amd64 · trixie-securityFixed · Fixed:
1.19.8-1+deb13u1nvd · libheif · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_2622-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-32740]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-32740]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-32740]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-32740]
- [https://security-tracker.debian.org/tracker/CVE-2026-32740]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32740.json]
- [https://ubuntu.com/security/notices/USN-8454-1]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]