# JLSEC-2026-571: 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.452Z
- Related: CVE-2026-32739, EUVD-2026-30975

## Description

libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 800-byte HEIF sequence file causes an infinite loop in `Box_stts::get_sample_duration()`, consuming 100% CPU indefinitely with zero progress, leading to DoS. The loop has no iteration limit or timeout and is triggered during file open (parsing) - before any user interaction or image decoding. The process stays alive (no crash, no error logged), making it invisible to crash-based monitoring. This issue has been fixed in version 1.22.0.

(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-j9g7-q9hv-gq8c> (web)

## Sources

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

---

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