
CVE catalog
CVE-2026-47254
libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, `Track::init_sample_timing_table()` in `libheif/sequences/track.cc` stores an out-of-bounds chunk index (`m_chunks.
- Severity
- Medium · CVSS 6.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, `Track::init_sample_timing_table()` in `libheif/sequences/track.cc` stores an out-of-bounds chunk index (`m_chunks.size()`) into `m_presentation_timeline` when the number of chunks defined in the `stco` box is less than the number of samples in `stsz`. A subsequent call to `heif_track_get_next_raw_sequence_sample()` reads `m_chunks[chunk_idx]` with that OOB index, causing a heap-buffer-overflow. Version 1.22.0 fixes the issue.
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 | Not reported | vulnerable |
| 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 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.21.2-3ubuntu0.2 | vulnerable |
| Ubuntu | libheif | 26.04 | 1.21.2-3ubuntu0.3 | fixed |
| Cpe | libheif | Not reported | 1.22.0 | 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 | Not reported |
| Debian | libheif | source | forky | 1.23.1-1 | not yet assigned | Not reported | Not reported |
| Debian | libheif | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | libheif | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Ubuntu | libheif | deb | 26.04 | 1.21.2-3ubuntu0.3 | Not reported | UBUNTU-CVE-2026-47254 | Not reported |
| Cpe | libheif | cpe | Not reported | 1.22.0 | Not reported | NVD-CVE-2026-47254 | 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://github.com/strukturag/libheif/security/advisories/GHSA-wqjg-4x9g-6cvg]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-47254]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-47254]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-47254]
- [https://security-tracker.debian.org/tracker/CVE-2026-47254]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-47254.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]