
CVE catalog
CVE-2026-32738
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer unde
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.30% · Oct 25, 2026
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer underflow in the Chunk constructor (m_last_sample = 0 + 0 - 1 = UINT32_MAX), mapping all samples to an empty chunk and resulting in a denial of service. When any sample is accessed, the library reads from index 0 of an empty std::vector, causing a guaranteed SEGV (null-page read). The file parses successfully without producing an error; the crash occurs on the first frame access. 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 |
| Cpe | libheif | Not reported | 1.22.0 | fixed |
| Alpine | libheif | 3.23 | 1.23.0-r0 | fixed |
| 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 |
| 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 |
| Opensuse | libheif | tumbleweed | 1.22.2-1.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 |
| 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-32738 | Not reported |
| Ubuntu | libheif | deb | pro | 1.12.0-2ubuntu0.1~esm3 | Not reported | USN-8454-1 | Not reported |
| Ubuntu | libheif | deb | 24.04 | 1.17.6-1ubuntu4.4 | Not reported | USN-8454-1 | Not reported |
| Ubuntu | libheif | deb | 25.10 | 1.20.2-1ubuntu0.4 | Not reported | USN-8454-1 | Not reported |
| Ubuntu | libheif | deb | 26.04 | 1.21.2-3ubuntu0.1 | Not reported | USN-8454-1 | Not reported |
| Ubuntu | libheif | deb | 25.10 | 1.20.2-1ubuntu0.4 | Not reported | UBUNTU-CVE-2026-32738 | Not reported |
| Ubuntu | libheif | deb | 26.04 | 1.21.2-3ubuntu0.1 | Not reported | UBUNTU-CVE-2026-32738 | Not reported |
| Opensuse | libheif | rpm | tumbleweed | 1.22.2-1.1 | Not reported | OPENSUSE-SU-2026:10878-1 | 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
[openSUSE Tumbleweed]
- [gdk-pixbuf-loader-libheif]Unknown
Source package: [libheif]
Details (1)
1.23.1-2.1· x86_64 · tumbleweedUnknown · Fixed:
1.22.2-1.1Version impact unknown
nvd · libheif · opensuse · tumbleweed
- [libheif1]Unknown
Source package: [libheif]
Details (1)
1.23.1-2.1· x86_64 · tumbleweedUnknown · Fixed:
1.22.2-1.1Version impact unknown
nvd · libheif · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10878-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-32738]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-32738]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-32738]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-32738]
- [https://osv.dev/vulnerability/USN-8454-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10878-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-32738]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32738.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)]