Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-47254
Published:July 21, 2026
Updated:August 04, 2026
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.
Affected Packages
https://github.com/strukturag/libheif.git (GITHUB):
Affected version(s) >=v1.20.0 <v1.22.0
Fix Suggestion:
Update to version v1.22.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Read
EPSS
Base Score:
0.19