Intel

AIKIDO-2026-10406

OpenEXR is vulnerable to Integer Overflow

Integer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 20, 2026

54

Medium Risk

This Affects:

PYTHONOpenEXR
3.4.0 - 3.4.6
Fixed in 3.4.7
Are you affected? Scan for Free

TL;DR

OpenEXR's HTJ2K decoder in internal_ht.cpp uses a loop variable typed as int16_t when iterating over channel width in ht_undo_impl. For very wide images (width > 32767), the variable overflows, leading to undefined behavior and potentially to out-of-bounds writes or denial of service when decoding attacker-supplied or untrusted EXR files that use HTJ2K compression. The fix changes the loop iterators to int32_t so widths beyond 32767 are handled correctly.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

OpenEXR is vulnerable to Integer Overflow in versions 3.4.0 - 3.4.6.

How to fix this

Upgrade the OpenEXR library to the patch version.