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

exploitDog

redhat логотип

CVE-2026-50142

Опубликовано: 18 авг. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.0, a crafted HEIF sequence accepted by heif_context_read_from_memory() with the msf1 sequence brand can cause unbounded heap allocation. In libheif/sequences/seq_boxes.cc, Box_stsz::parse() applies max_sequence_frames only to variable-size samples, so fixed-size mode accepts an attacker-controlled sample_count without a bound. In libheif/sequences/track.cc, Track::load() also adds current_sample_idx and samples_per_chunk in 32-bit arithmetic, allowing the consistency check to be bypassed by wraparound. The resulting values reach the Chunk::Chunk() allocation path, which can consume gigabytes of memory and crash or stall the process through memory exhaustion. This issue is fixed in version 1.23.0.

A flaw was found in libheif, a HEIF and AVIF file format decoder and encoder. A remote attacker can provide a specially crafted HEIF sequence that triggers an unbounded heap allocation. This occurs because the HEIF sequence parser's fixed-size mode is missing a bound check, and an integer wraparound can bypass consistency checks. Successful exploitation can lead to excessive memory consumption, causing the application to crash or become unresponsive, resulting in a Denial of Service (DoS).

Отчет

This vulnerability is evaluated as an Important severity flaw because unauthenticated remote input can trigger severe process termination or system unresponsiveness through resource starvation without requiring elevated privileges. Services and client applications processing external media assets via libheif are vulnerable to denial of service whenever parsing untrusted image sequences. However, libheif is not included in standard Red Hat Enterprise Linux repositories and is only available through community packages such as EPEL, limiting exposure to systems configured with these repositories.

Меры по смягчению последствий

To mitigate this issue, users should avoid processing untrusted HEIF or AVIF files with applications that utilize libheif. Additionally, consider sandboxing applications that handle HEIF/AVIF content to limit their resource consumption and potential impact on the system.

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

Статус:

Important
Дефект:
CWE-770
https://bugzilla.redhat.com/show_bug.cgi?id=2519058libheif: libheif: Denial of Service via unbounded heap allocation in HEIF sequence parser

EPSS

Процентиль: 52%
0.00655
Низкий

7.5 High

CVSS3

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

CVSS3: 7.5
ubuntu
3 месяца назад

libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.0, a crafted HEIF sequence accepted by heif_context_read_from_memory() with the msf1 sequence brand can cause unbounded heap allocation. In libheif/sequences/seq_boxes.cc, Box_stsz::parse() applies max_sequence_frames only to variable-size samples, so fixed-size mode accepts an attacker-controlled sample_count without a bound. In libheif/sequences/track.cc, Track::load() also adds current_sample_idx and samples_per_chunk in 32-bit arithmetic, allowing the consistency check to be bypassed by wraparound. The resulting values reach the Chunk::Chunk() allocation path, which can consume gigabytes of memory and crash or stall the process through memory exhaustion. This issue is fixed in version 1.23.0.

CVSS3: 7.5
nvd
3 месяца назад

libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.0, a crafted HEIF sequence accepted by heif_context_read_from_memory() with the msf1 sequence brand can cause unbounded heap allocation. In libheif/sequences/seq_boxes.cc, Box_stsz::parse() applies max_sequence_frames only to variable-size samples, so fixed-size mode accepts an attacker-controlled sample_count without a bound. In libheif/sequences/track.cc, Track::load() also adds current_sample_idx and samples_per_chunk in 32-bit arithmetic, allowing the consistency check to be bypassed by wraparound. The resulting values reach the Chunk::Chunk() allocation path, which can consume gigabytes of memory and crash or stall the process through memory exhaustion. This issue is fixed in version 1.23.0.

CVSS3: 7.5
debian
3 месяца назад

libheif is a HEIF and AVIF file format decoder and encoder. From 1.19. ...

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

Уязвимость libheif

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

Уязвимость libheif

EPSS

Процентиль: 52%
0.00655
Низкий

7.5 High

CVSS3