CVE-2017-9110
Medium · 6.5CVSS
6.5
EPSS
1.9%
Published
May 21, 2017
CISA due date
—
Cloudanix analysis
A flaw in image-handling code can make programs that open certain picture files crash unexpectedly.
- 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 2 in hufDecode within ImfHuf.cpp triggers a crash on malformed OpenEXR input.
Why it matters to the business
Image-processing pipelines and tools that rely on OpenEXR may experience unexpected application crashes, interrupting rendering, compositing, and content workflows.
How an attack unfolds
An attacker supplies a specially crafted OpenEXR file that reaches the hufDecode path with invalid data, causing the application to dereference out-of-bounds memory and terminate.
How to fix it
Upgrade k3d, k3d-proxy, and k3d-tools to 5.6.3-r3 or later; rebuild academysoftwarefoundation/openexr from commit dcaf5fdb4d1244d8e60a58832cfe9c54734a2257 or newer releases.
How to confirm the fix worked
Verify installed package versions against the listed fixed releases; reprocess known-good EXR files after upgrade to confirm stability.
Typical attack path
- Craft a malformed OpenEXR file that triggers the invalid read
- Deliver the file to a target application or service
- Victim application opens or processes the file
- Application crashes due to memory error
How to detect it
Monitor application crash logs and core dumps for references to ImfHuf.cpp or hufDecode during EXR file processing; correlate with file-origin metadata.
What your security team should do
- Prioritize upgrade of all listed affected packages to the specified fixed versions
- Scan container images and build pipelines for vulnerable OpenEXR versions
- Restrict untrusted EXR file ingestion until patches are applied
The record
In OpenEXR 2.2.0, an invalid read of size 2 in the hufDecode function in ImfHuf.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 |
| 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 |
| 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