CVE-2026-42216

OpenEXR: Out-of-bounds read in `IDManifest::init()` during prefix expansion

State
Published
Severity
8.8 High
Published
May 7, 2026
Updated
Sep 9, 2026
Reserved
Apr 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.8 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:NGitHub_M
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:Hredhat-SADP

Weaknesses

  • CWE-125 Out-of-bounds Read
  • CWE-130 Improper Handling of Length Parameter Inconsistency

Affected Products

ProductVersions
openexrAcademySoftwareFoundation
  • >= 3.0.0, < 3.2.9Affected
  • >= 3.3.0, < 3.3.11Affected
  • >= 3.4.0, < 3.4.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.