Bug 2521922 - CVE-2026-62377 libheif: libheif: Denial of Service via crafted HEIF sequence [fedora-all]
Summary: CVE-2026-62377 libheif: libheif: Denial of Service via crafted HEIF sequence ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libheif
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact:
URL:
Whiteboard: {"flaws": ["5391a109-291c-4108-80f7-4...
Depends On:
Blocks: CVE-2026-62377
TreeView+ depends on / blocked
 
Reported: 2026-08-24 14:03 UTC by Vladimir Vasilev
Modified: 2026-10-15 22:25 UTC (History)
3 users (show)

Fixed In Version: libheif-1.23.1-9.fc45,libheif-1.23.1-9.fc46 libheif-1.23.6-3.fc46
Clone Of:
Environment:
Last Closed: 2026-10-15 22:25:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-24 14:03:58 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. In 1.23.0 and earlier, a crafted HEIF sequence accepted by heif_context_read_from_memory() can leave the context with no registered sequence tracks and crash when heif_context_get_track(ctx, 0) is called. HeifContext::get_track() in libheif/context.cc executes assert(has_sequence()) before its normal error handling, so assert-enabled builds abort instead of allowing the public wrapper in libheif/api/libheif/heif_sequences.cc to return null. In release builds, removing the assertion lets the track_id zero path dereference m_tracks.begin()->second on an empty map, which is undefined behavior and typically crashes. The issue is reachable through documented public APIs after parsing attacker-controlled bytes. This issue is fixed in version 1.23.1.

Comment 1 Dominik 'Rathann' Mierzejewski 2026-09-02 12:52:45 UTC
Fixed in 1.23.1: https://github.com/strukturag/libheif/releases/tag/v1.23.1 .

Comment 2 Fedora Update System 2026-10-15 20:55:42 UTC
FEDORA-2026-42f5a71cb1 (ffmpeg-9.0.2-2.fc46, libheif-1.23.6-3.fc46, and 5 more) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-42f5a71cb1

Comment 3 Fedora Update System 2026-10-15 22:25:27 UTC
FEDORA-2026-42f5a71cb1 (ffmpeg-9.0.2-2.fc46, libheif-1.23.6-3.fc46, and 5 more) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.


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