CVE-2026-42217
JSON

6.3medium

OpenEXR: Shift exponent overflow in `readVariableLengthInteger()` (`ImfIDManifest.cpp`)

Severity
6.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
AcademySoftwareFoundation openexr>= 3.0.0, < 3.2.9, >= 3.3.0, < 3.3.11, >= 3.4.0, < 3.4.11CVE List
openexr openexrfrom 3.0.0 before 3.2.9, from 3.3.0 before 3.3.11, from 3.4.0 before 3.4.11NVD

All scores

GitHub_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

OpenEXR proporciona la especificación y la implementación de referencia del formato de archivo EXR, un formato de almacenamiento de imágenes para la industria cinematográfica. Desde las versiones 3.0.0 hasta antes de la 3.2.9, 3.3.0 hasta antes de la 3.3.11, y 3.4.0 hasta antes de la 3.4.11, readVariableLengthInteger() decodifica un entero de longitud variable de una entrada EXR no confiable sin limitar el recuento de desplazamiento. Después de suficientes bytes de continuación, el código ejecuta un desplazamiento a la izquierda de 70 en un valor de 64 bits, lo cual es un comportamiento indefinido. Este problema ha sido parcheado en las versiones 3.2.9, 3.3.11 y 3.4.11.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42217 changed 2026-05-07CVE Terms of Use
NVDCVE-2026-42217 changed 2026-10-26Public domain