JLSEC-2026-1735: Buffer Overflow
OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation. Prior to 3.0.18.0 and 3.1.13.0, a signed integer overflow in QueryRGBBufferSizeInternal() in DPXColorConverter.cpp leads to a heap-based out-of-bounds write when processing crafted DPX image files. The function computes buffer sizes using 32-bit signed integer arithmetic with negative multipliers (e.g., pixels -3 bytes for kCbYCr descriptors and pixels -4 bytes for kABGR descriptors), where a negative result is used as an in-band signal that no separate buffer is needed. When the pixel count is sufficiently large, the multiplication overflows INTMIN and wraps to a small positive value. The caller in dpxinput.cpp interprets this positive value as a required buffer size, allocates an undersized heap buffer via mdecodebuf.resize(), and then writes the full image data into it via fread, resulting in a heap buffer overflow. An attacker can exploit this by crafting a DPX file that triggers the overflow, causing a denial of service (crash) or potentially arbitrary code execution through heap corruption in any application that reads pixel data using OpenImageIO. This vulnerability is fixed in 3.0.18.0 and 3.1.13.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/OpenImageIO_jllto a version that resolves this vulnerability.Fixed in 3.2.200+0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.0.18.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.1.13.0
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using julia/openimageio_jll to read pixel data from DPX image files are exposed if they use an OpenImageIO version earlier than 3.0.18.0 or 3.1.13.0.
What must an attacker do to trigger the issue?
An attacker must provide a crafted DPX image file with dimensions or pixel counts that cause the signed buffer-size calculation to overflow. The vulnerable application must then process pixel data from that file.
How can I determine whether my installation is affected?
Check the bundled OpenImageIO version. Versions prior to 3.0.18.0 and 3.1.13.0 are affected; versions at or above those listed fixes are not affected by this issue.