CVE-2026-3950: strukturag libheif · Out-of-bounds Read
Affects strukturag libheifSource CVE Database V5
Public exploit available · CVSS 4.8 Medium.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 11 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| strukturaglibheif | Affected
| Fixed in– |
GitHubstrukturag/libheifpkg:github/strukturag/libheifOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-3950, organizations should prioritize applying an official patch from the strukturag libheif project once it becomes available, as the current unofficial patch is not approved and may not be reliable. Until an official fix is released, restrict local access to systems processing HEIF images with libheif, especially limiting untrusted or low-privilege user accounts. Employ sandboxing or containerization techniques to isolate applications using libheif, minimizing the impact of potential out-of-bounds reads. Regularly audit and monitor local user activity to detect suspicious behavior indicative of exploitation attempts. Developers should review and harden the parsing logic in libheif, incorporating bounds checking and input validation to prevent similar vulnerabilities. Additionally, consider using alternative image processing libraries that do not exhibit this vulnerability if immediate patching is not feasible. Maintain up-to-date backups and system integrity monitoring to quickly recover from any exploitation consequences. Finally, educate users about the risks of running untrusted code locally and enforce strict access controls on critical systems.
Description
A vulnerability was identified in strukturag libheif up to 1.21.2. This impacts the function Track::load of the file libheif/sequences/track.cc of the component stsz/stts. The manipulation leads to out-of-bounds read. The attack needs to be performed locally. The exploit is publicly available and might be used. Applying a patch is the recommended action to fix this issue. The patch available is inofficial and not approved yet.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/strukturag/libheif/issues/1715 (opens in a new tab)
- github.com/Niebelungen-D/pocs/tree/main/heif_dec_sequence_chunk_idx_oob (opens in a new tab)
- github.com/strukturag/libheif/pull/1721 (opens in a new tab)
- github.com/strukturag/libheif/ (opens in a new tab)