Heap-based buffer overflow in OpenEXR - #VU159179

 

Heap-based buffer overflow in OpenEXR - #VU159179

Published: November 4, 2026


Vulnerability identifier: #VU159179
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 and cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in OpenEXRCore's exr_undo_zstd_v1() when decoding ZSTD-compressed deep tiled chunks before validating their sample counts. A remote attacker can supply a crafted EXR file containing negative signed sample counts that become large unsigned values, causing memcpy operations to write beyond unpacked_buffer at file-controlled offsets with file-controlled lengths and contents to corrupt heap memory and crash the application.

The C++ deep readers are not affected.


Affected software

OpenEXR

Remediation

Install security update from vendor's website.

OpenEXR - update to 3.5.3

External References

Related Security Bulletins