CVE-2017-9116
Medium · 6.5CVSS
6.5
EPSS
1.9%
Published
May 21, 2017
CISA due date
—
Cloudanix analysis
Software that reads certain image files can suddenly stop working when it tries to open a specially made file.
- 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 read of size 1 in the uncompress function in ImfZip.cpp triggers a crash via out-of-bounds memory access during OpenEXR decompression.
Why it matters to the business
Applications that process OpenEXR files experience unexpected crashes and service interruptions when handling untrusted input, increasing operational downtime and support burden across image-handling pipelines and downstream libraries.
How an attack unfolds
An attacker supplies a malformed OpenEXR image that reaches the vulnerable uncompress routine; the library performs an invalid read of size 1, causing the process to terminate.
How to fix it
Upgrade academysoftwarefoundation/openexr to commit dcaf5fdb4d1244d8e60a58832cfe9c54734a2257 and com.itextpdf/itextpdf to version 7.0.3 (or later) in all affected products and rebuild dependent applications.
How to confirm the fix worked
Confirm library versions match the listed fixed commits or releases, then re-test decompression of known malformed EXR samples to ensure crashes no longer occur.
Typical attack path
- Craft a malicious OpenEXR file that triggers the invalid read in ImfZip.cpp
- Deliver the file to a vulnerable application via network, email, or file share
- Induce the target to open or process the file, invoking decompression
- Trigger crash and denial of service
How to detect it
Review application crash logs and core dumps for references to ImfZip.cpp or the uncompress function; correlate with inbound OpenEXR files from untrusted sources.
What your security team should do
- Immediately inventory all uses of openexr and itextpdf and schedule upgrades to the listed fixed versions
- Add automated dependency scanning to prevent re-introduction of the vulnerable releases
- Review image-processing workflows for exposure to untrusted EXR content and apply input validation or sandboxing where upgrades are delayed
The record
In OpenEXR 2.2.0, an invalid read of size 1 in the uncompress function in ImfZip.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 |
| Mageia:5 | OpenEXR | 0 | 2.2.0-4.1.mga5 |
| Ubuntu:16.04:LTS | openexr | 0 | 2.2.0-10ubuntu2.1 |
| Ubuntu:18.04:LTS | openexr | 0 | 2.2.0-11.1ubuntu1 |
| Ubuntu:18.04:LTS | openexr | 0 | 2.2.0-11.1ubuntu1.1 |
| openSUSE:Tumbleweed | openexr | 0 | 3.1.1-2.2 |
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-9114 In OpenEXR 2.2.0, an invalid read of size 1 in the refill function in ImfFastHuf.cpp… 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