Buffer overflow in Strukturag Libheif
CVE-2026-3950
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 4.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Strukturag Libheif — versions 1.21.0, 1.21.1, 1.21.2
Weakness classification (CWE)
References
- VDB-350382 | strukturag libheif stsz/stts track.cc load out-of-bounds (technical-description, vdb-entry)
- VDB-350382 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #766431 | strukturag libheif 1.21.2 Out-of-Bounds Read (third-party-advisory)
- github.com/strukturag/libheif/issues/1715 (issue-tracking)
- github.com/Niebelungen-D/pocs/tree/main/heif_dec_sequence_chunk_idx_oob (exploit)
- github.com/strukturag/libheif/pull/1721 (issue-tracking, patch)
- github.com/strukturag/libheif/ (product)