# CVE-2026-142494: libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Aliases: DEBIAN-CVE-2026-142494
- Record: https://cvemate.com/vulnerability/CVE-2026-142494 · JSON: https://cvemate.com/vulnerability/CVE-2026-142494/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) 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
- EPSS: 0.676%, percentile 53.641%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libheif (Debian): \< 1.23.4-1
- strukturag libheif: ≥ 1.20.0, \< 1.23.4

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q>
- <https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6>
- <https://github.com/strukturag/libheif/releases/tag/v1.23.4>
- <https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266>
- <https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api>
- <https://security-tracker.debian.org/tracker/CVE-2026-142494>

---

Data as of 2026-12-05T09:48:02.387Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
