{"id":"CVE-2026-41069","title":"libheif is a HEIF and AVIF file format decoder and encoder","summary":"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_…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","cwe":["CWE-125","CWE-476"],"vendor":"struktur","product":"libheif","affected":["libheif < 1.22.0"],"patched":["libheif 1.22.0"],"published":"2026-05-22","updated":"2026-07-23","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-41069","references":[{"url":"https://github.com/strukturag/libheif/releases/tag/v1.22.0","label":"security-advisories@github.com"},{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r","label":"security-advisories@github.com"},{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd"],"epss":0.00388,"epssPercentile":0.30239,"ingestedAt":"2026-07-23T11:17:34.190Z","slug":"CVE-2026-41069","body":"## Overview\n\nlibheif 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.\n\n## Affected\n\n- `libheif < 1.22.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `libheif 1.22.0`","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}