# CVE-2026-3950: strukturag libheif stsz/stts track.cc load out-of-bounds

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

## Description

```text
A vulnerability was identified in strukturag libheif up to 1.21.2. This impacts the function Track::load of the file libheif/sequences/track.cc of the component stsz/stts. The manipulation leads to out-of-bounds read. The attack needs to be performed locally. The exploit is publicly available and might be used. Applying a patch is the recommended action to fix this issue. The patch available is inofficial and not approved yet.
```

## Signals

- CVSS: 4.8 medium (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
- EPSS: 0.155%, percentile 4.763%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian libheif (Debian): \< 1.23.1-1
- ubuntu libheif (Ubuntu): \< 1.20.2-1ubuntu0.4 \| \< 1.21.2-3ubuntu0.1
- strukturag libheif: 1.21.0 \| 1.21.1 \| 1.21.2

## References

- <https://vuldb.com/?id.350382>
- <https://vuldb.com/?ctiid.350382>
- <https://vuldb.com/?submit.766431>
- <https://github.com/strukturag/libheif/issues/1715>
- <https://github.com/Niebelungen-D/pocs/tree/main/heif_dec_sequence_chunk_idx_oob>
- <https://github.com/strukturag/libheif/pull/1721>
- <https://github.com/strukturag/libheif/>
- <https://ubuntu.com/security/CVE-2026-3950>
- <https://www.cve.org/CVERecord?id=CVE-2026-3950>
- <https://ubuntu.com/security/notices/USN-8454-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-3950>

---

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