CVE-2026-41071
struktur libheif
Patch priority
RegularFix with the next regular update.
- CVSS
- 8.1
- Severity
- 8.1
- EPSS
- 0.3 %
- Percentile
- 25
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run struktur libheif. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDlibheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, a crafted HEIF sequence file where the saiz box declares more samples than actually exist in the track's chunk table causes a heap-buffer-overflow (out-of-bounds read) in the SampleAuxInfoReader constructor. The SampleAuxInfoReader constructor iterates over saiz->get_num_samples() samples but doesn't validate that this count is consistent with the number of chunks in the chunks vector. When saiz declares more samples than the chunks cover, the loop increments current_chunk past chunks.size(), causing an out-of-bounds read on the chunks vector. The vulnerability is triggered during file parsing (heif_context_read_from_file) without any additional user interaction. Any application using libheif to open untrusted HEIF files is affected. This issue has been fixed in version 1.22.0.
- Vendor / product
- struktur libheif
- Published
- 23.05.2026
- Modified
- 23.07.2026
- CWE
- CWE-125
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Vendor updates
4- Microsoft: Mariner 21.11.2026 · High · Patch day
- SUSE: SUSE-SU-2026:2622-1 – Security update for libheif 24.06.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:22153-1 – Security update for libheif 23.06.2026 · HIGH · Patch day
- Ubuntu: USN-8454-1 – libheif vulnerabilities 18.06.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.