Description
Tinyexr through 3.2.0 contains a heap out-of-bounds read vulnerability in ParseEXRMultipartHeaderFromMemory() that allows attackers to read beyond buffers due to a stale remaining-size value. Attackers can supply a crafted multi-part EXR file whose later part headers bypass ReadAttribute() bounds checks, crashing applications or leaking adjacent heap memory into attribute values.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| syoyo | tinyexr | ≤ 3.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tinyexr | No fix yet | — |
| Debian 13 | tinyexr | No fix yet | — |
| Debian 12 | tinyexr | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tinyexr | No fix yet | — |
| Ubuntu 26.04 LTS | tinyexr | No fix yet | — |
| Ubuntu 24.04 LTS | tinyexr | No fix yet | — |
| Ubuntu 22.04 LTS | tinyexr | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/tinyexr-multipart-header-stale-size-oob-read third-party-advisory
- https://github.com/syoyo/tinyexr/blob/6f470c9ab24bf3992bc512ce07e8ecb00d9bf105/tinyexr.h#L10551-L10621 technical-description
- https://github.com/syoyo/tinyexr/blob/6f470c9ab24bf3992bc512ce07e8ecb00d9bf105/tinyexr.h#L1207-L1266 technical-description
- VulnCheck Advisory: Tinyexr through 3.2.0 Heap Out-of-Bounds Read via ParseEXRMultipartHeaderFromMemory third-party-advisory