Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-47254

Опубликовано: 21 июл. 2026
Источник: redhat
CVSS3: 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 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.

A flaw was found in libheif, a library for decoding and encoding HEIF and AVIF image files. A local attacker could exploit an out-of-bounds write vulnerability during the initialization of the sample timing table. This occurs when the number of chunks defined in the stco box is less than the number of samples in stsz, leading to a heap-buffer-overflow. Successful exploitation could result in a denial of service (DoS) and potentially lead to information disclosure.

Отчет

This vulnerability is rated as having Moderate impact because exploitation requires a victim or local service to parse a specially crafted media file, limiting the blast radius primarily to process termination or localized data disclosure. Although libheif is consumed by image viewers and media processing tools, it is not distributed as part of core Red Hat Enterprise Linux releases. Consequently, enterprise server environments running standard Red Hat distributions are not exposed by default, and risk is confined to user-installed desktop or community packages.

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=2505227libheif: libheif: Heap-buffer-overflow due to out-of-bounds write in sample timing table

6.1 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.1
ubuntu
4 месяца назад

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.

CVSS3: 6.1
nvd
4 месяца назад

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.

CVSS3: 6.1
debian
4 месяца назад

libheif is a HEIF and AVIF file format decoder and encoder. Prior to v ...

CVSS3: 6.1
redos
26 дней назад

Уязвимость libheif

CVSS3: 6.1
redos
26 дней назад

Уязвимость libheif

6.1 Medium

CVSS3