libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::get_next_sample_raw_data() that allows attackers to exhaust process memory by supplying a crafted HEIF image sequence. Attackers can trigger error paths via 'saiz'/'saio' auxiliary data or TAI timestamps, or oversized 'stsz' samples, leaking sample copies or aborting the process through uncaught std::bad_alloc.
https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q
https://github.com/strukturag/libheif/releases/tag/v1.23.4
https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6
https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266
Published: 2026-12-02
Updated: 2026-12-02
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 6.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 7.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00676