Cloudanix VulnDB

CVE-2017-12596

High · 7.8

CVSS

7.8

EPSS

1.9%

Published

Aug 7, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in older OpenEXR image software lets specially made image files crash programs or cause other problems when opened.

Exploit Available
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

  1. Identify target application or workflow that processes OpenEXR files using vulnerable library version
  2. Craft malicious image file exploiting the hufDecode over-read condition
  3. Deliver the image via file upload, shared storage, or command-line invocation of exrmaketiled
  4. 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