Heap-based buffer overflow in OpenEXR - #VU159176

 

Heap-based buffer overflow in OpenEXR - #VU159176

Published: November 4, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to corrupt heap memory with file-controlled pixel data and cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in the OpenEXR Python bindings when processing channel groups that map to the same array key with different component counts. A remote attacker can supply a crafted EXR file containing both R,G,B and RGB.R,RGB.G,RGB.B,RGB.A channel groups to an application using OpenEXR.File(path_or_stream) with the default separate_channels=False setting, causing four-component pixel writes into a three-component NumPy buffer to overwrite adjacent heap objects and crash the application.


Affected software

OpenEXR

Remediation

Install security update from vendor's website.

OpenEXR - addressed in versions 3.3.15, 3.4.17, 3.5.3

External References

Related Security Bulletins