PT-2026-42833 · Libheif+2 · Libheif+2
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
libheif versions prior to 1.21.3
Description
An out-of-bounds read can occur in the core sequence parsing logic when processing a malformed HEIF sequence file, leading to a Denial of Service (DoS). This happens when a file has
stco.entry count set to 0, resulting in no chunks being created, but saiz.sample count is greater than 0. In chunked mode, the SampleAuxInfoReader constructor enters a loop that causes an out-of-bounds dereference on the empty chunks[0] element.Recommendations
Update to a version later than 1.21.2.
Exploit
Fix
DoS
NULL Pointer Dereference
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Ubuntu
Libheif