CVE-2017-9114
Medium · 6.5CVSS
6.5
EPSS
2.0%
Published
May 21, 2017
CISA due date
—
Cloudanix analysis
A flaw in an image library can cause programs that open certain picture files to stop working.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Invalid one-byte read in the refill function of ImfFastHuf.cpp during Huffman decoding of malformed OpenEXR files triggers a crash with no confidentiality or integrity impact.
Why it matters to the business
Applications processing untrusted image files may crash, causing denial of service for image-handling workflows; the vulnerability is nine years old with stable low exploit probability and has been fixed in current library versions.
How an attack unfolds
An attacker crafts a malicious OpenEXR file containing invalid Huffman table data that reaches the refill routine; when the victim application opens the file the invalid read occurs and the process terminates.
How to fix it
Upgrade OpenEXR to version 2.13.5-r1 or later, or apply commit dcaf5fdb4d1244d8e60a58832cfe9c54734a2257; rebuild and redeploy all dependent packages including nri-postgresql variants.
How to confirm the fix worked
Confirm installed OpenEXR version is at least 2.13.5; run regression tests with known crashing OpenEXR samples and verify absence of the invalid read in ImfFastHuf.cpp.
Typical attack path
- Attacker generates malformed OpenEXR file with corrupted Huffman metadata
- Victim application opens or renders the file using the vulnerable OpenEXR library
- refill function performs out-of-bounds read
- Application crashes or becomes unresponsive
How to detect it
Monitor application crash logs and core dumps for references to ImfFastHuf.cpp or refill function; correlate with inbound OpenEXR file processing events.
What your security team should do
- Immediately update all OpenEXR installations and rebuild dependents to the listed fixed versions
- Scan build pipelines and container images for vulnerable OpenEXR versions
- Add OpenEXR file handling to fuzzing and crash-monitoring pipelines
- Review image-processing services for exposure to untrusted EXR input
The record
In OpenEXR 2.2.0, an invalid read of size 1 in the refill function in ImfFastHuf.cpp could cause the application to crash.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | openexr | 0 | 2.2.0-11.1 |
| Debian:12 | openexr | 0 | 2.2.0-11.1 |
| Debian:13 | openexr | 0 | 2.2.0-11.1 |
| Debian:14 | openexr | 0 | 2.2.0-11.1 |
| Debian:7 | openexr | 0 | 1.6.1-6+deb7u1 |
| Debian:9 | openexr | 0 | 2.2.0-11+deb9u1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Server 11 SP4 | OpenEXR | 0 | 1.6.1-83.17.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | OpenEXR | 0 | 1.6.1-83.17.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | OpenEXR | 0 | 1.6.1-83.17.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP2 | openexr | 0 | 2.1.0-6.3.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP3 | openexr | 0 | 2.1.0-6.3.1 |
Related vulnerabilities
- 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-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-9113 In OpenEXR 2.2.0, an invalid write of size 1 in the bufferedReadPixels function in… 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-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-9116 In OpenEXR 2.2.0, an invalid read of size 1 in the uncompress function in ImfZip.cpp… Also affects openexr