# CVE-2026-41069: libheif allows Out-of-bounds vector access leading to invalid dereference (DoS)

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- 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.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-22T20:49:16.735Z
- Modified: 2026-07-23T11:10:00.120Z
- Weaknesses: CWE-125, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, a malformed HEIF sequence file can trigger an out-of-bounds read in core sequence parsing logic, causing DoS. A malformed file can have stco.entry_count == 0 (creating no chunks) while still passing validation because saio.entry_count == 0 matches, but with saiz.sample_count > 0 the SampleAuxInfoReader constructor still enters its loop. This leads to an out-of-bounds dereference on the empty chunks[0] in chunked mode.

(As written by CVE List.)

## Affected

- strukturag libheif: < 1.22.0
- struktur libheif: before 1.22.0

## References

- <https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r> (exploit, vendor-advisory)
- <https://github.com/strukturag/libheif/releases/tag/v1.22.0> (product, release-notes)

## Sources

- CVE List: [CVE-2026-41069](https://www.cve.org/CVERecord?id=CVE-2026-41069), CVE Terms of Use, modified 2026-05-26
- NVD: [CVE-2026-41069](https://nvd.nist.gov/vuln/detail/CVE-2026-41069), Public domain, modified 2026-07-23

---

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