Out-of-bounds read in OpenEXR - CVE-2026-42216

 

Out-of-bounds read in OpenEXR - CVE-2026-42216

Published: May 5, 2026


Vulnerability identifier: #VU129652
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-42216
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information or cause a denial of service.

The vulnerability exists due to out-of-bounds read in IDManifest::init() in src/lib/OpenEXR/ImfIDManifest.cpp when parsing a prefix-compressed IDManifest string list from a crafted .exr file. A remote attacker can supply a specially crafted file to disclose sensitive information or cause a denial of service.

Exploitation requires the previous string to be longer than 255 bytes so that the 2-byte prefix-length path is used, and the next string to be empty.


Affected software

OpenEXR
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
OpenEXR (Red Hat package)
OpenEXR-libs
OpenEXR-devel
OpenEXR-debugsource
OpenEXR-debuginfo
OpenEXR
OpenEXR-doc
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
openEuler
Anolis OS

How to mitigate CVE-2026-42216

Install security update from vendor's website.

OpenEXR - addressed in versions 3.2.9, 3.3.11, 3.4.11
OpenEXR (Red Hat package) - addressed in versions 3.1.1-2.el9_2.4, 3.1.1-2.el9_4.4, 3.1.1-3.el9_6.3, 3.1.10-8.el10_0.3
OpenEXR-libs - addressed in versions 3.1.5-7, 3.1.11-9
OpenEXR-devel - addressed in versions 3.1.5-7, 3.1.11-9
OpenEXR-debugsource - addressed in versions 3.1.5-7, 3.1.11-9
OpenEXR-debuginfo - addressed in versions 3.1.5-7, 3.1.11-9
OpenEXR - addressed in versions 3.1.5-7, 3.1.11-9
OpenEXR-doc - update to 3.4.11-1
OpenEXR-libs - update to 3.4.11-1
OpenEXR - update to 3.4.11-1
OpenEXR-devel - update to 3.4.11-1

External References

Related Security Bulletins