Bug 2506575 - CVE-2026-47254 libheif: libheif: Heap-buffer-overflow due to out-of-bounds write in sample timing table [fedora-all]
Summary: CVE-2026-47254 libheif: libheif: Heap-buffer-overflow due to out-of-bounds wr...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libheif
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: {"flaws": ["ce429c38-3549-4c4a-8c1e-2...
Depends On:
Blocks: CVE-2026-47254
TreeView+ depends on / blocked
 
Reported: 2026-07-23 19:11 UTC by Cedric Buissart
Modified: 2026-08-17 15:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cedric Buissart 2026-07-23 19:11:05 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:36:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.