CVE-2017-9111
High · 8.8CVSS
8.8
EPSS
3.2%
Published
May 21, 2017
CISA due date
—
Cloudanix analysis
A bug in software that reads special image files can let attackers crash programs or take control of a computer if someone opens a harmful file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Invalid 8-byte write in the storeSSE function within ImfOptimizedPixelReading.h allows memory corruption that can crash the process or permit arbitrary code execution when processing a specially crafted OpenEXR image.
Why it matters to the business
Organizations that ingest or render OpenEXR files risk application crashes, denial of service, or full compromise of systems handling untrusted imagery, potentially disrupting media pipelines and increasing incident-response costs.
How an attack unfolds
An attacker crafts a malicious OpenEXR file that triggers the invalid write; when a victim application loads the file, the overflow corrupts memory and can be leveraged to execute attacker-controlled code or simply crash the process.
How to fix it
Upgrade academysoftwarefoundation/openexr to commit dcaf5fdb4d1244d8e60a58832cfe9c54734a2257 or later; for Chainguard and Wolfi packages update terraform, terraform-compat, and terraform-local-provider-config to version 1.5.7-r4 or newer.
How to confirm the fix worked
Confirm the installed OpenEXR library reports a version containing the referenced commit or package revision 1.5.7-r4; re-run any existing fuzzing or regression tests that exercise ImfOptimizedPixelReading.h.
Typical attack path
- Craft malicious OpenEXR file exploiting the storeSSE write flaw
- Deliver the file via web download, email attachment, or shared storage
- Victim application opens or renders the file
- Memory corruption occurs leading to crash or code execution
How to detect it
Monitor application logs and crash dumps for segmentation faults or access violations originating from ImfOptimizedPixelReading or storeSSE when processing OpenEXR content; correlate with file-origin metadata for suspicious sources.
What your security team should do
- Immediately inventory all systems that depend on OpenEXR and schedule upgrades to the listed fixed versions
- Block or sandbox untrusted OpenEXR files until patches are applied
- Add OpenEXR version checks to software bill-of-materials and CI pipelines
The record
In OpenEXR 2.2.0, an invalid write of size 8 in the storeSSE function in ImfOptimizedPixelReading.h could cause the application to crash or execute arbitrary code.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | openexr | 0 | 2.2.1 |
| 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 |
| openSUSE:Tumbleweed | openexr | 0 | 3.1.1-2.2 |
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-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-2026-44663 OpenEXR is the reference implementation and specification for the EXR image format… Also affects openexr
- CVE-2026-45696 OpenEXR is the reference implementation and specification for the EXR image format… Also affects openexr
- CVE-2026-42217 OpenEXR provides the specification and reference implementation of the EXR file format… Also affects openexr
- CVE-2026-42216 OpenEXR provides the specification and reference implementation of the EXR file format… Also affects openexr