CVE-2026-40250 Details
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`.
A vulnerability exists in OpenEXR versions 3.4.0 prior to 3.4.9, 3.3.0 prior to 3.3.9, and 3.2.0 prior to 3.2.7. The issue arises in the DWA decoder's internal_dwa_compressor.h file, specifically at line 1040, where pointer arithmetic is performed using int32 arithmetic without proper casting to size_t. This oversight creates an integer overflow risk, particularly when the dataWindow width exceeds 536,870,912 for FLOAT channels. The overflow allows crafted EXR files to corrupt heap memory, leading to potential exploitation.
Users can upgrade to OpenEXR versions 3.2.8, 3.3.10, or 3.4.10, all of which include the necessary fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.2.8 | [email protected] | ProductRelease Notes |
| https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.3.10 | [email protected] | ProductRelease Notes |
| https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.10 | [email protected] | ProductRelease Notes |
| https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-m5qw-23x2-6phj | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openexr openexr | >= 3.2.0, < 3.2.8 >= 3.3.0, < 3.3.10 >= 3.4.0, < 3.4.10 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2026 | Initial Analysis | [email protected] |
| Apr 21, 2026 | New CVE Received | [email protected] |