# CVE-2026-142499: libheif 1.20.0 before 1.23.6 NULL Pointer Dereference via Track\_Visual::decode\_next\_image\_sample()

- 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-142499
- Record: https://cvemate.com/vulnerability/CVE-2026-142499 · JSON: https://cvemate.com/vulnerability/CVE-2026-142499/json

## Description

```text
libheif 1.20.0 before 1.23.6 contains a null pointer dereference vulnerability in Track_Visual::decode_next_image_sample() that allows attackers to crash the process via crafted HEIF image sequences. Attackers can map a later chunk in the 'stsc' box to a non-visual 'stsd' sample entry such as 'mp4a', causing heif_track_decode_next_image() to call through a null decoder pointer.
```

## 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.594%, percentile 49.82%, 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.6-2~deb13u1 \| \< 1.23.6-1
- strukturag libheif: ≥ 1.20.0, \< 1.23.6

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-8p2c-9wv4-rx4p>
- <https://github.com/strukturag/libheif/commit/2b87e150b3fce9d0b29c7d97423b38ce3d8239fc>
- <https://github.com/strukturag/libheif/releases/tag/v1.23.6>
- <https://github.com/strukturag/libheif/blob/v1.23.5/libheif/sequences/track_visual.cc#L205-L214>
- <https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.6-null-pointer-dereference-via-track-visual-decode-next-image-sample>
- <https://security-tracker.debian.org/tracker/CVE-2026-142499>

---

Data as of 2026-12-05T10:00:15.008Z. 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
