CVE-2025-48074
NoneOpenEXR Out-Of-Memory via Unbounded File Header Values
CVSS
—
EPSS
0.3%
Published
Jul 31, 2025
CISA due date
—
Cloudanix analysis
A problem with certain image files can let attackers make programs use too much memory or slow down until they stop working.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The application trusts the dataWindow size value provided in OpenEXR file headers and performs computations based on it, resulting in excessive iteration counts or huge memory allocations.
Why it matters to the business
Attackers can trigger denial-of-service conditions against image-processing applications, leading to crashes or resource exhaustion that disrupts workflows handling OpenEXR content.
How an attack unfolds
An attacker creates a malicious OpenEXR file containing an oversized dataWindow value in the header and supplies the file to a vulnerable application; the application then performs unchecked computations that exhaust memory or CPU.
How to fix it
Upgrade affected packages to the following fixed versions: linux-lts (Alpaquita:stream) 6.12.41-r0, academysoftwarefoundation/openexr commit da760aa4b6bee4b9d74b8c6a151221b035fc47b7, linux-lts (Alpaquita:25) 6.12.41-r0.
How to confirm the fix worked
Confirm installed package versions match the fixed releases; re-test parsing of crafted OpenEXR files after upgrade to verify resource usage remains bounded.
Typical attack path
- Craft OpenEXR file with maliciously large dataWindow in header
- Deliver file to target application via any supported input channel
- Application parses header and begins resource-intensive operations
- Process memory or CPU consumption spikes until exhaustion or crash
How to detect it
Monitor for OpenEXR-processing processes that exhibit sudden spikes in memory or CPU usage; review application logs for header parsing events preceding resource exhaustion.
What your security team should do
- Apply the listed fixed versions immediately across all affected systems
- Inventory OpenEXR usage in image-processing pipelines and prioritize updates
- Add runtime resource limits for processes that handle untrusted OpenEXR input
The record
The OpenEXR file format defines many information about the final image inside of the file header, such as the size of data/display window. The application trusts the value of `dataWindow` size provided in the header of the input file, and performs computations based on this value. This may result in unintended behaviors, such as excessively large number of iterations and/or huge memory allocations.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | openexr | 3.3.2 | 3.3.3 |
| Debian:11 | openexr | 0 | No fix |
| Debian:12 | openexr | 0 | No fix |
| Debian:13 | openexr | 0 | No fix |
| Debian:14 | openexr | 0 | No fix |
| openSUSE:Tumbleweed | openexr | 0 | 3.3.5-1.1 |
| pypi | OpenEXR | 3.3.2 | No fix |
Related vulnerabilities
- CVE-2026-27622 OpenEXR provides the specification and reference implementation of the EXR file format… Also affects openexr
- GHSA-cr4v-6jm6-4963 OpenEXR's CompositeDeepScanLine integer-overflow leads to heap OOB write Also affects openexr
- CVE-2017-9112 In OpenEXR 2.2.0, an invalid read of size 1 in the getBits function in ImfHuf.cpp could… Also affects openexr
- CVE-2017-9111 In OpenEXR 2.2.0, an invalid write of size 8 in the storeSSE function in… Also affects openexr
- CVE-2024-31047 An issue in Academy Software Foundation openexr v.3.2.3 and before allows a local… Also affects openexr
- CVE-2017-14988 Header::readfrom in IlmImf/ImfHeader.cpp in OpenEXR 2.2.0 allows remote attackers to… Also affects openexr
- CVE-2017-12596 In OpenEXR 2.2.0, a crafted image causes a heap-based buffer over-read in the hufDecode… Also affects openexr
- CVE-2017-9114 In OpenEXR 2.2.0, an invalid read of size 1 in the refill function in ImfFastHuf.cpp… Also affects openexr