CVE-2026-47254
Reported by github_m · Published July 21, 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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | < 1.22.0 |
| strukturag | libheif | 0 |
Timeline
- May 28, 2026 CVE Published
- Jul 22, 2026 Coalition ESS Score
- Aug 7, 2026 EPSS Score (10 in total, the first dated here)
- Sep 20, 2026 Security Advisory
- Oct 24, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-47254
vulnetix vdb fixes CVE-2026-47254
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-47254/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-wqjg-4x9g-6cvg x_refsource_CONFIRM