CVE-2026-3950 Details
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.
A vulnerability exists in strukturag libheif versions through 1.21.2, specifically in the Track::load function within the stsz/stts component. This vulnerability allows a crafted file to declare more samples in the stsz/stts boxes than are actually covered by the stsc box. The inconsistency is not properly validated during the track loading process, which can lead to an out-of-bounds read error. This issue is exploitable locally and has been demonstrated with a public proof-of-concept.
A patch for this vulnerability has been created but is unofficial and not yet approved. It is recommended to apply this patch once it is officially released.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 11, 2026CISA-ADP
Assessed Mar 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Niebelungen-D/pocs/tree/main/heif_dec_sequence_chunk_idx_oob | [email protected] | ExploitTechnical Description |
| https://github.com/strukturag/libheif/ | [email protected] | ProductSource CodeVendor |
| https://github.com/strukturag/libheif/issues/1715 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/strukturag/libheif/pull/1721 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/?ctiid.350382 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.350382 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.766431 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| strukturag libheif | <= 1.21.2 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 11, 2026 | New CVE Received | [email protected] |
Volerion