Vulnerability · Published Apr 21, 2026 · Assigned by GitHub_M
CVE-2026-40250OpenEXR has integer overflow in DWA decoder outBufferEnd pointer arithmetic (missed variant of CVE-2026-34589)
High 8.4
In plain English
A high-severity integer overflow in openexr from AcademySoftwareFoundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In versions 3.4.0 through 3.4.9, 3.3.0 through 3.3.9, and 3.2.0 through 3.2.7, `internal_dwa_compressor.h:1040` performs `chan->width * chan->bytes_per_element` in `int32` arithmetic without a `(size_t)` cast. This is the same overflow pattern fixed in other decoders by CVE-2026-34589/34588/34544, but this line was missed. Versions 3.4.10, 3.3.10, and 3.2.8 contain a fix that addresses `internal_dwa_compressor.h:1040`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | openexr | 3.3.11-r0 | ALPINE-CVE-2026-40250 |
| Alpine:v3.23 | openexr | 3.4.13-r0 | ALPINE-CVE-2026-40250 |
| Alpine:v3.24 | openexr | 3.4.10-r0 | ALPINE-CVE-2026-40250 |
| Debian:12 | openexr | no fix listed | DEBIAN-CVE-2026-40250 |
| Debian:13 | openexr | no fix listed | DEBIAN-CVE-2026-40250 |
| Debian:14 | openexr | 3.4.14-0.1 | DEBIAN-CVE-2026-40250 |
| Ubuntu:26.10 | openexr | no fix listed | UBUNTU-CVE-2026-40250 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | openexr | >= 3.2.0, < 3.2.8>= 3.3.0, < 3.3.10>= 3.4.0, < 3.4.10 |
Weakness: CWE-190 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-m5qw-23x2-6phj x_refsource_CONFIRM
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.2.8 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.3.10 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.10 x_refsource_MISC