Description
OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From 3.2.0 to before 3.2.7, 3.3.9, and 3.4.9, a signed integer overflow exists in undo_pxr24_impl() in src/lib/OpenEXRCore/internal_pxr24.c at line 377. The expression (uint64_t)(w * 3) computes w * 3 as a signed 32-bit integer before casting to uint64_t. When w is large, this multiplication constitutes undefined behavior under the C standard. On tested builds (clang/gcc without sanitizers), two's-complement wraparound commonly occurs, and for specific values of w the wrapped result is a small positive integer, which may allow the subsequent bounds check to pass incorrectly. If the check is bypassed, the decoding loop proceeds to write pixel data through dout, potentially extending far beyond the allocated output buffer. This vulnerability is fixed in 3.2.7, 3.3.9, and 3.4.9.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AcademySoftwareFoundation | openexr | >= 3.2.0, < 3.2.7, >= 3.3.0, < 3.3.9, >= 3.4.0, < 3.4.9 | — |
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 | openexr | 3.4.14-0.1 | — |
| Debian 13 | openexr | 3.2.12-1~deb13u1 | — |
| Debian 12 | openexr | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | openexr | No fix yet | — |
| Ubuntu 25.10 | openexr | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | openexr | 3.1.13-2ubuntu0.26.04.1~esm1 | USN-8259-1 |
| Ubuntu Pro 24.04 LTS | openexr | 3.1.5-5.1ubuntu0.1~esm1 | USN-8259-1 |
| Ubuntu Pro 22.04 LTS | openexr | 2.5.7-1ubuntu0.1~esm2 | USN-8259-1 |
| Ubuntu Pro 20.04 LTS | openexr | 2.3.0-6ubuntu0.5+esm2 | USN-8259-1 |
| Ubuntu Pro 18.04 LTS | openexr | 2.2.0-11.1ubuntu1.9+esm1 | USN-8259-1 |
| Ubuntu Pro 16.04 LTS | openexr | 2.2.0-10ubuntu2.6+esm4 | USN-8259-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openexr | 3.4.9-1.1 | openSUSE-SU-2026:10505-1 |
| openSUSE Leap 16.0 | openexr | 3.2.2-160000.6.1 | openSUSE-SU-2026:20605-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openexr | 3.4.10-r0 | — |
| Alpine v3.23 | openexr | 3.4.13-r0 | — |
| Alpine v3.22 | openexr | 3.3.11-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | openexr +2 | 3.1.5-1.amzn2023.0.9 | ALAS2023-2026-1612 |
Advisories 4
- USN-8259-1 openexr vulnerabilities Ubuntu Security Notices (USN) · Oct 27, 2026
- ALAS2023-2026-1612 Important: openexr security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 30, 2026
- openSUSE-SU-2026:20605-1 Security update for openexr SUSE / openSUSE Security Updates · Apr 24, 2026
- openSUSE-SU-2026:10505-1 libIex-3_4-33-3.4.9-1.1 on GA media SUSE / openSUSE Security Updates · Apr 9, 2026
References
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-q3v8-hw4m-59w5
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.2.7
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.3.9
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.9