Cloudanix VulnDB

CVE-2017-9116

Medium · 6.5

CVSS

6.5

EPSS

1.9%

Published

May 21, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Craft a malicious OpenEXR file that triggers the invalid read in ImfZip.cpp
  2. Deliver the file to a vulnerable application via network, email, or file share
  3. Induce the target to open or process the file, invoking decompression
  4. 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