CVE-2026-42217 Details
Description
OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From versions 3.0.0 to before 3.2.9, 3.3.0 to before 3.3.11, and 3.4.0 to before 3.4.11, readVariableLengthInteger() decodes a variable-length integer from untrusted EXR input without bounding the shift count. After enough continuation bytes, the code executes a left shift by 70 on a 64-bit value, which is undefined behavior. This issue has been patched in versions 3.2.9, 3.3.11, and 3.4.11.
A vulnerability exists in OpenEXR versions 3.0.0 prior to 3.0.5, 3.1.0 prior to 3.1.13, 3.2.0 prior to 3.2.8, 3.3.0 prior to 3.3.10, and 3.4.0 prior to 3.4.10. The issue arises in the 'readVariableLengthInteger()' function within 'ImfIDManifest.cpp', where the function decodes variable-length integers from untrusted EXR input without properly limiting the shift count. This oversight can lead to undefined behavior by allowing a left shift of 70 on a 64-bit value, potentially causing out-of-bounds reads when the corrupted value is used as a string-list length in subsequent parsing.
Users can upgrade to OpenEXR versions 3.2.9, 3.3.11, or 3.4.11 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/AcademySoftwareFoundation/openexr/commit/21eaa33bcbbb0c83a5fc42f6b6d65b70a996e63c | [email protected] | Patch |
| https://github.com/AcademySoftwareFoundation/openexr/pull/2378 | [email protected] | Issue TrackingPatch |
| https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-3c67-4wwp-w52m | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openexr openexr | >= 3.0.0, < 3.2.9 >= 3.3.0, < 3.3.11 >= 3.4.0, < 3.4.11 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 7, 2026 | New CVE Received | [email protected] |