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: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libheif
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michel Lind
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-25 22:59 UTC (History)
3 users (show)

Fixed In Version: libheif-1.23.1-9.fc45
Clone Of:
Environment:
Last Closed: 2026-08-25 22:59:04 UTC
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.

Comment 2 Michel Lind 2026-08-25 22:59:04 UTC
This bug is already fixed in a published Bodhi update: libheif-1.23.1-9.fc45


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