6.3Medium

CVE-2026-42217OpenEXR: Shift exponent overflow in `readVariableLengthInteger()` (`ImfIDManifest.cpp`)

AcademySoftwareFoundation openexr Published: (6 months ago)

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.

Weakness (CWE): CWE-190

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
AcademySoftwareFoundation openexr >= 3.0.0, < 3.2.9, >= 3.3.0, < 3.3.11, >= 3.4.0, < 3.4.11
openexr openexr 3.0.0 – < 3.2.9

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.0.0 < 3.2.9
  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.3.0 < 3.3.11
  • cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* ≥ 3.4.0 < 3.4.11