🛡️ CVE-2026-47254 on Ubuntu — libheif
Description
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.
Distribution advisory
This page covers CVE-2026-47254 as tracked by Ubuntu, for the package libheif. The fix is available in version 1.21.2-3ubuntu0.3; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability high.
Weakness class
UBUNTU-CVE-2026-47254 is classified as CWE-125: Out-of-bounds Read. The code reads past the limits of a buffer, exposing adjacent memory contents or crashing the process.
Affected software
UBUNTU-CVE-2026-47254 is recorded against 1 package.
- libheif (fixed in 1.21.2-3ubuntu0.3)
Timeline and source
Published on 2 July 2026 and last revised on 29 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
www.cve.org (Report)
github.com (Report)
ubuntu.com (Advisory)
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libheif | — | 1.21.2-3ubuntu0.3 |
References
Similar Threats
- Unknown BELL-CVE-2026-47247
- Unknown BELL-CVE-2026-47251
- Unknown BELL-CVE-2026-47254
- Unknown BELL-CVE-2026-47709
- Unknown BELL-CVE-2026-47714
Vulnerability Monitoring
Track new vulnerabilities in libheif
UBUNTU-CVE-2026-47254 is rated CVSS 6.1 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.