{"id":"CVE-2026-41069","published":"2026-05-22T20:49:16Z","modified":"2026-05-26T12:16:13Z","title":"libheif allows Out-of-bounds vector access leading to invalid dereference (DoS)","vendor":"strukturag","product":"libheif","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00388,"percentile":0.24567,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.22.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.91},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"strukturag","affectedVersions":[{"vendor":"strukturag","product":"libheif","versions":["< 1.22.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-26T12:15:49.971528Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31503","exploited":false,"provenance":"source"}}