Heap-based buffer overflow in OpenEXR - #VU159179
Published: November 4, 2026
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.