CVE-2026-41069
libheif allows Out-of-bounds vector access leading to invalid dereference (DoS)
Reported by github_m · Published May 22, 2026
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.
EPSS 0.25% · 16.9th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | < 1.22.0 |
| strukturag | libheif | < 1.22.0 |
Timeline
- May 22, 2026 CVE Published
- May 23, 2026 EPSS Score (30 in total, the first dated here)
- May 26, 2026 CVE Updated
- Sep 21, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-41069
vulnetix vdb fixes CVE-2026-41069
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-41069/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r x_refsource_CONFIRM
- https://github.com/strukturag/libheif/releases/tag/v1.22.0 x_refsource_MISC