OpenEXR is vulnerable to Integer Overflow
54
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
OpenEXR is vulnerable to Integer Overflow in versions 3.4.0 - 3.4.6.
Upgrade the OpenEXR library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant