CVE-2026-42216 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, IDManifest::init() reconstructs strings from a prefix-compressed representation. If the previous string is longer than 255 bytes, the next string is expected to begin with a 2-byte prefix length. The code reads stringList[i][0] and stringList[i][1] without checking that the current string has at least two bytes. This issue has been patched in versions 3.2.9, 3.3.11, and 3.4.11.
A high-severity out-of-bounds read vulnerability has been identified in OpenEXR versions 3.0.0 prior to 3.0.6, 3.1.0 prior to 3.1.14, 3.2.0 prior to 3.2.9, 3.3.0 prior to 3.3.11, and 3.4.0 prior to 3.4.11. The vulnerability arises in the IDManifest::init() function, where the code reconstructs strings from a prefix-compressed representation. If the preceding string exceeds 255 bytes, the subsequent string is expected to start with a 2-byte prefix length. However, the implementation fails to verify that the current string contains at least two bytes, leading to an out-of-bounds read. This flaw can be exploited to leak heap memory or cause a process crash by manipulating the prefix length derived from an empty string.
Users should update to OpenEXR versions 3.2.9, 3.3.11, or 3.4.11.
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://access.redhat.com/errata/RHSA-2026:38498 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:38499 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:39024 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:39025 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:39026 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:39027 | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-42216 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2467633 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42216.json | redhat-SADP | |
| https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-65j8-95g9-jgj4 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-65j8-95g9-jgj4 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-130 | Improper Handling of Length Parameter Inconsistency | redhat-SADP |
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
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 14, 2026 | CVE Modified | redhat-SADP |
| Jul 13, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 7, 2026 | CVE Modified | CISA-ADP |
| May 7, 2026 | New CVE Received | [email protected] |