# JLSEC-2026-573: libheif is a HEIF and AVIF file format decoder and encoder.

- Severity: Medium 6.5 (CVSS:3.1, scored by Julia Security Advisories) `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
- Published: 2026-06-05T15:18:28.412Z
- Modified: 2026-07-25T18:24:39.460Z
- Related: CVE-2026-41069, EUVD-2026-31503

## 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 Julia Security Advisories.)

## Affected

- libheif_jll (Julia): before 1.22.2000+0

## References

- <https://github.com/strukturag/libheif/releases/tag/v1.22.0> (web)
- <https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-573](https://osv.dev/vulnerability/JLSEC-2026-573), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-573 · Whole record: https://cve.day/JLSEC-2026-573.json · Rebuilt by cve.day 2026-11-25T22:56:26.164Z
