CVE-2026-47254: libheif is a HEIF and AVIF file format decoder and encoder
CVE-2026-47254 is a medium-severity flaw (CVSS 6.1) affecting libheif. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 95%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-07-21 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-47254?
libheif: upgrade to 1.22.0. Exact commands for each OS are on this page.
Is CVE-2026-47254 being exploited?
CVE-2026-47254 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-47254 affect?
CVE-2026-47254 affects libheif. Severity is medium (CVSS 6.1). 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`
How urgent is CVE-2026-47254?
Priority 28/100. Public exploit reference
Related CVEs
- CVE-2026-47247 HIGH 7.5 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47178 MEDIUM 6.1 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47251 MEDIUM 6.1 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47709 MEDIUM 5.5 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder
- CVE-2026-47714 MEDIUM 6.1 UPGRADE libheif is a HEIF and AVIF file format decoder and encoder