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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-11T19:02:08.446Z
- Modified: 2026-06-17T10:44:29.950Z
- Weaknesses: CWE-119, CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- strukturag libheif: 1.21.0; 1.21.1; 1.21.2

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/Niebelungen-D/pocs/tree/main/heif_dec_sequence_chunk_idx_oob> (exploit)
- <https://vuldb.com/?id.350382> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.350382> (permissions-required, signature)
- <https://vuldb.com/?submit.766431> (third-party-advisory)
- <https://github.com/strukturag/libheif/issues/1715> (issue-tracking)
- <https://github.com/strukturag/libheif/pull/1721> (issue-tracking, patch)
- <https://github.com/strukturag/libheif/> (product)

## Sources

- CVE List: [CVE-2026-3950](https://www.cve.org/CVERecord?id=CVE-2026-3950), CVE Terms of Use, modified 2026-03-11
- NVD: [CVE-2026-3950](https://nvd.nist.gov/vuln/detail/CVE-2026-3950), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3950 · Whole record: https://cve.day/CVE-2026-3950.json · Rebuilt by cve.day 2026-11-25T22:59:15.779Z
