Vulnerability · Published Mar 11, 2026 · Assigned by VulDB
CVE-2026-3950strukturag libheif stsz/stts track.cc load out-of-bounds
Low 3.3
In plain English
A low-severity out-of-bounds read in libheif from strukturag. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | libheif | 1.23.1-1 | DEBIAN-CVE-2026-3950 |
| Ubuntu:25.10 | libheif | 1.20.2-1ubuntu0.4 | UBUNTU-CVE-2026-3950 |
| Ubuntu:26.04:LTS | libheif | 1.21.2-3ubuntu0.1 | UBUNTU-CVE-2026-3950 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libheif | 1.21.01.21.11.21.2 |
Weakness: CWE-125, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
References
- VDB-350382 | strukturag libheif stsz/stts track.cc load out-of-bounds vdb-entry, technical-description
- VDB-350382 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #766431 | strukturag libheif 1.21.2 Out-of-Bounds Read third-party-advisory
- https://github.com/strukturag/libheif/issues/1715 issue-tracking
- https://github.com/Niebelungen-D/pocs/tree/main/heif_dec_sequence_chunk_idx_oob exploit
- https://github.com/strukturag/libheif/pull/1721 issue-tracking, patch
- https://github.com/strukturag/libheif/ product