CVE-2017-9112: OpenEXR OpenEXR Invalid Read Vulnerability
MODERATECVE-2017-9112 is a MODERATE (CVSS 6.5) openexr invalid read vulnerability (General Security Weakness) affecting OpenEXR libraries in the PyPI ecosystem. The issue involves openexr invalid read. Remediation is available by upgrading affected packages to version 2.2.1.
CVE-2017-9112 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2017-9112
To remediate this vulnerability, upgrade all affected OpenEXR dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install OpenEXR>=2.2.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show OpenEXR
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-9112, inspect your installed packages using pip:
pip show OpenEXR
Analyze the terminal output to locate any version of OpenEXR in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.1), your application is affected.
Note: The pip show OpenEXR command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In OpenEXR, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-9112 Affected OpenEXR Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
OpenEXR
|
PyPI |
< 2.2.1
|
2.2.1
|
References
Frequently Asked Questions
What is CVE-2017-9112?
Which OpenEXR versions are affected?
What version fixes CVE-2017-9112?
Is OpenEXR affected?
What is the CVSS score of CVE-2017-9112?
What CWE is associated with CVE-2017-9112?
How can I check PyPI dependencies for CVE-2017-9112?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8m57-j273-2qg9",
"modified" : "2025-04-22T18:45:44Z",
"published" : "2022-05-13T01:17:50Z",
"aliases" : [ "CVE-2017-9112" ],
"summary" : "OpenEXR invalid read",
"details" : "In OpenEXR 2.2.0, an invalid read of size 1 in the getBits function in ImfHuf.cpp could cause the application to crash.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "OpenEXR"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-9112"
}, {
"type" : "WEB",
"url" : "https://github.com/openexr/openexr/issues/232"
}, {
"type" : "WEB",
"url" : "https://github.com/openexr/openexr/pull/233"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AcademySoftwareFoundation/openexr"
}, {
"type" : "WEB",
"url" : "https://github.com/openexr/openexr/releases/tag/v2.2.1"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2020/08/msg00056.html"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/4148-1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2017/05/12/5"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-22T18:45:44Z",
"nvd_published_at" : "2017-05-21T18:29:00Z"
}
}