CVE-2017-9113
High · 8.8CVSS
8.8
EPSS
3.1%
Published
May 21, 2017
CISA due date
—
Cloudanix analysis
Older OpenEXR image software could let attackers crash programs or run harmful code simply by tricking someone into opening a specially made picture file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Invalid write of size 1 in bufferedReadPixels during OpenEXR image parsing causes out-of-bounds memory corruption that can lead to application crash or arbitrary code execution.
Why it matters to the business
Processing untrusted OpenEXR image files in affected versions can result in denial of service or remote code execution, disrupting image workflows and requiring emergency patching across dependent software stacks.
How an attack unfolds
An attacker supplies a specially crafted OpenEXR file that triggers the invalid write when parsed by the vulnerable bufferedReadPixels function, allowing control of execution flow or simply crashing the process.
How to fix it
Upgrade OpenEXR to version 2.9.3 or later (ip-masq-agent Chainguard/Wolfi: 2.9.3-r13; academysoftwarefoundation/openexr GIT: dcaf5fdb4d1244d8e60a58832cfe9c54734a2257). Rebuild and redeploy all dependent applications.
How to confirm the fix worked
Verify installed OpenEXR version is 2.9.3 or newer; attempt to process known-good and known-bad test images in a sandbox to confirm absence of the write error.
Typical attack path
- Craft malicious OpenEXR file exploiting the pixel buffer write flaw
- Deliver file via network, email, or web upload
- Victim application opens or renders the file
- Memory corruption occurs leading to crash or code execution
How to detect it
Monitor application logs for segmentation faults or crashes during OpenEXR image loading; inspect process dumps for anomalous writes originating from ImfInputFile.cpp.
What your security team should do
- Immediately inventory all systems using OpenEXR < 2.9.3 and schedule upgrades
- Block untrusted OpenEXR files at ingress points until patched
- Add OpenEXR version checks to software bill-of-materials and CI pipelines
The record
In OpenEXR 2.2.0, an invalid write of size 1 in the bufferedReadPixels function in ImfInputFile.cpp could cause the application to crash or execute arbitrary code.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | openexr | 0 | 2.2.1-4.1+deb10u1 |
| Debian:11 | openexr | 0 | 2.5.3-2 |
| Debian:12 | openexr | 0 | 2.5.3-2 |
| Debian:13 | openexr | 0 | 2.5.3-2 |
| Debian:14 | openexr | 0 | 2.5.3-2 |
| Debian:9 | openexr | 0 | 2.2.0-11+deb9u1 |
| SUSE:Linux Enterprise Desktop 12 SP4 | openexr | 0 | 2.1.0-6.10.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 | openexr | 0 | 2.2.1-3.6.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | openexr | 0 | 2.2.1-3.6.1 |
| SUSE:Linux Enterprise Server 12 SP4 | openexr | 0 | 2.1.0-6.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | openexr | 0 | 2.1.0-6.10.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP4 | openexr | 0 | 2.1.0-6.10.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP4 | openexr | 0 | 2.1.0-6.10.1 |
| Ubuntu:16.04:LTS | openexr | 0 | 2.2.0-10ubuntu2.1 |
| Ubuntu:16.04:LTS | openexr | 0 | 2.2.0-10ubuntu2.2 |
| Ubuntu:18.04:LTS | openexr | 0 | 2.2.0-11.1ubuntu1.1 |
| Ubuntu:18.04:LTS | openexr | 0 | 2.2.0-11.1ubuntu1.2 |
| Ubuntu:20.04:LTS | openexr | 0 | 2.3.0-6ubuntu0.1 |
| openSUSE:Leap 15.0 | openexr | 0 | 2.2.1-lp150.2.6.1 |
| openSUSE:Leap 15.1 | openexr | 0 | 2.2.1-lp151.4.3.1 |
Related vulnerabilities
- CVE-2017-14988 Header::readfrom in IlmImf/ImfHeader.cpp in OpenEXR 2.2.0 allows remote attackers to… Also affects openexr
- CVE-2017-9115 In OpenEXR 2.2.0, an invalid write of size 2 in the = operator function in half.h 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-2025-48074 OpenEXR Out-Of-Memory via Unbounded File Header Values 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-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
- 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