
CVE catalog
CVE-2026-32814
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, when decoding a HEIF grid image with strict_decoding=false (the default), a corrupted tile silently fails to d
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.31% · Oct 27, 2026
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, when decoding a HEIF grid image with strict_decoding=false (the default), a corrupted tile silently fails to decode and the library returns heif_error_Ok with no indication of failure, leading to an uninitialized heap memory information leak. The canvas is allocated via create_clone_image_at_new_size() → plane.alloc() → new (std::nothrow) uint8_t[allocation_size] which does not zero the memory; only the alpha plane is explicitly initialized via fill_plane(), so the Y, Cb, and Cr planes contain whatever was previously at that heap address. The failed tile's region of the canvas is never written. It retains uninitialized heap data that is delivered to the caller as decoded pixel values (4,096 bytes per Y/Cb/Cr plane = 12,288+ bytes total). Any application using libheif to decode grid-based HEIF/AVIF files with default settings is vulnerable: a crafted .heic or .avif file causes 4,096+ bytes of heap memory to appear as pixel values in the decoded image, and the calling application receives heif_error_Ok, so it has no indication the output contains heap garbage. In server-side image processing, an uploaded crafted HEIF decoded and re-encoded (e.g., as PNG/JPEG for thumbnails, CDN, social media) can leak cross-user data such as auth tokens, database results, and other users' image data. 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 | not affected |
| Debian | libheif | trixie-security | 1.23.6-2~deb13u1 | not affected |
| 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 |
| Ubuntu | libheif | pro | 1.11.0-1 | vulnerable |
| Ubuntu | libheif | pro | 1.12.0-2build1 | vulnerable |
| Ubuntu | libheif | pro | 1.12.0-2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | libheif | pro | 1.12.0-2ubuntu0.1~esm2 | vulnerable |
| Ubuntu | libheif | pro | 1.12.0-2ubuntu0.1~esm3 | fixed |
| Ubuntu | libheif | 24.04 | 1.16.2-2ubuntu1 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.1-1ubuntu2 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.1-1ubuntu3 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.4-1ubuntu1 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu1 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu2 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu3 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu4 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu4.1 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu4.2 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu4.3 | vulnerable |
| Ubuntu | libheif | 24.04 | 1.17.6-1ubuntu4.4 | 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 | Not affected | unimportant | 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 |
| Ubuntu | libheif | deb | pro | 1.12.0-2ubuntu0.1~esm3 | Not reported | UBUNTU-CVE-2026-32814 | Not reported |
| Ubuntu | libheif | deb | 24.04 | 1.17.6-1ubuntu4.4 | Not reported | UBUNTU-CVE-2026-32814 | Not reported |
| Ubuntu | libheif | deb | 25.10 | 1.20.2-1ubuntu0.4 | Not reported | UBUNTU-CVE-2026-32814 | Not reported |
| Ubuntu | libheif | deb | 26.04 | 1.21.2-3ubuntu0.1 | Not reported | UBUNTU-CVE-2026-32814 | 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
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10878-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-32814]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-32814]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-32814]
- [https://security-tracker.debian.org/tracker/CVE-2026-32814]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32814.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)]