CVE-2026-41069
libheif allows Out-of-bounds vector access leading to invalid dereference (DoS)
Description
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.
INFO
Published Date :
May 22, 2026, 9:16 p.m.
Last Modified :
May 27, 2026, 3:26 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update libheif to version 1.21.3 or later.
- Ensure that input HEIF files are validated properly.
- Avoid processing untrusted HEIF files.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-41069.
| URL | Resource |
|---|---|
| https://github.com/strukturag/libheif/releases/tag/v1.22.0 | Product Release Notes |
| https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r | Exploit Vendor Advisory |
| https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-41069 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-41069
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-41069 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-41069 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 27, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:* versions up to (excluding) 1.22.0 Added Reference Type GitHub, Inc.: https://github.com/strukturag/libheif/releases/tag/v1.22.0 Types: Product, Release Notes Added Reference Type CISA-ADP: https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r Types: Exploit, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 26, 2026
Action Type Old Value New Value Added Reference https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r -
New CVE Received by [email protected]
May. 22, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Added CWE CWE-125 Added CWE CWE-476 Added Reference https://github.com/strukturag/libheif/releases/tag/v1.22.0 Added Reference https://github.com/strukturag/libheif/security/advisories/GHSA-p82x-fpmv-576r