Intel

AIKIDO-2026-546016

AcademySoftwareFoundation.openexr is vulnerable to Heap-based Buffer Overflow

Heap-based Buffer OverflowGHSA-m5cq-cx25-qw53 Published Aug 10, 2026

81

High Risk

This Affects:

C++AcademySoftwareFoundation.openexr
3.1.0 - 3.4.13
Fixed in 3.4.14
Are you affected? Scan for Free

TL;DR

OpenEXRCore's deep-image chunk reader caps packed and unpacked size fields at INT_MAX but omits the same cap on the sample-count table size. On 32-bit (ILP32) builds a crafted deep EXR can declare a sample-count table size at or above 2^32, so the value truncates when the scratch buffer is allocated while the full 64-bit byte count is still read into it. This yields an undersized allocation and a heap buffer overflow when the sample-count table is read. The fix rejects sample-count table sizes above INT_MAX before allocation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run a 32-bit (ILP32) build that decodes untrusted deep EXR files.

Background info

AcademySoftwareFoundation.openexr is vulnerable to Heap-based Buffer Overflow in versions 3.1.0 - 3.4.13.

How to fix this

Upgrade the AcademySoftwareFoundation.openexr library to the patch version.