Skip to content
Fencer Vulns
medium 6.1

CVE-2026-47254 json

libheif Has Heap Buffer Overflow in `Track::get_next_sample_raw_data()` -- OOB Chunk Vector Access

published 2026-07-21 3 mo ago modified 2026-10-24 15 d ago also EUVD-2026-46436 , JLSEC-2026-1098

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 5%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia libheif_jll 1.22.2000+0
  • struktur libheif 1.22.0
  • libheif Debian 14 1.23.1-1

debian advisories DEBIAN-CVE-2026-47254

  • libheif Ubuntu 26.04 LTS 1.21.2-3ubuntu0.3

ubuntu advisories UBUNTU-CVE-2026-47254

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libheif SLE Module for Package Hub 15 SP7, SLE Module for Desktop Applications 15 SP7 1.23.0-150700.3.15.1
  • libheif SLES for SAP applications 16.0, SLES 16.0 1.23.0-160000.1.1

suse advisories SUSE-SU-2026:2622-1SUSE-SU-2026:22153-1

  • libheif openSUSE Leap 16.0 1.23.0-160000.1.1
  • libheif openSUSE Tumbleweed 1.22.2-1.1

opensuse advisories openSUSE-SU-2026:20974-1openSUSE-SU-2026:10878-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-47254 updated cvss 6.1

libheif: libheif: Heap-buffer-overflow due to out-of-bounds write in sample timing table

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
3 mo ago

Exploit prediction

0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/strukturag/libheif/security/advisories/GHSA-wqjg-4x9g-6cvg referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
OSV 3.1 6.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia libheif_jll
<1.22.2000+0
1.22.2000+0

Affected products

  • strukturag libheif

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.