CVE-2017-12596
High · 7.8CVSS
7.8
EPSS
1.9%
Published
Aug 7, 2017
CISA due date
—
Cloudanix analysis
A flaw in older OpenEXR image software lets specially made image files crash programs or cause other problems when opened.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Other
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer over-read in hufDecode function during processing of crafted OpenEXR images, leading to potential memory corruption or crashes in image tiling operations.
Why it matters to the business
Processing untrusted images in affected OpenEXR libraries or dependent systems like Kubernetes can cause denial of service or unexpected application behavior, increasing operational risk for image-handling workloads.
How an attack unfolds
An attacker crafts a malicious OpenEXR image file and supplies it to an application using the vulnerable exrmaketiled tool or equivalent OpenEXR parsing code, triggering the buffer over-read during hufDecode execution to induce crashes or other memory effects.
How to fix it
Upgrade academysoftwarefoundation/openexr to commit 0ac2ea34c8f3134148a5df4052e40f155b76f6fb or later; for kubernetes-1.21 (Chainguard) apply the fixed build version 0 or newer equivalent. Rebuild dependent containers and validate image processing pipelines after update.
How to confirm the fix worked
Confirm library version or commit hash in deployed packages matches fixed versions; test parsing of known-good and boundary OpenEXR files post-upgrade to verify absence of crashes.
Typical attack path
- Identify target application or workflow that processes OpenEXR files using vulnerable library version
- Craft malicious image file exploiting the hufDecode over-read condition
- Deliver the image via file upload, shared storage, or command-line invocation of exrmaketiled
- Trigger parsing to cause heap over-read and resulting denial of service or memory impact
How to detect it
Review application and system logs for segmentation faults or crashes in exrmaketiled or OpenEXR-dependent processes when handling image files; monitor for unexpected memory errors during image tiling operations.
What your security team should do
- Prioritize patching OpenEXR dependencies in all image-processing containers and Kubernetes workloads due to available public exploits
- Scan container images and source repositories for affected openexr versions and enforce upgrade to the specified commit
- Implement input validation or sandboxing for untrusted image files until patches are applied
The record
In OpenEXR 2.2.0, a crafted image causes a heap-based buffer over-read in the hufDecode function in IlmImf/ImfHuf.cpp during exrmaketiled execution; it may result in denial of service or possibly unspecified other impact.
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: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 |
| 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 |
Related vulnerabilities
- CVE-2024-31047 An issue in Academy Software Foundation openexr v.3.2.3 and before allows a local… 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-2026-92824 A flaw was found in libmodulemd. CWE-125
- CVE-2026-114038 A flaw was found in device-mapper-multipath. CWE-125
- CVE-2026-112896 Pillow is a Python imaging library. CWE-125
- CVE-2026-112278 rdesktop through 1.9.0 contains a heap out-of-bounds read vulnerability in… CWE-125
- CVE-2026-112273 libtins through 4.6 contains a heap out-of-bounds read vulnerability in DNS::compose_name… CWE-125
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-125