Description
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 INT_MIN 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 m_decodebuf.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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | < 3.0.18.0, >= 3.1.4.0-beta, < 3.1.13.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openimageio | 3.1.18.0+dfsg-2 | — |
| Debian 13 | openimageio | No fix yet | — |
| Debian 12 | openimageio | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | openimageio | No fix yet | — |
| Ubuntu 25.10 | openimageio | No fix yet | — |
| Ubuntu 22.04 LTS | openimageio | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | openimageio | 2.5.19.1+dfsg-2ubuntu0.1~esm1 | USN-8438-1 |
| Ubuntu Pro 24.04 LTS | openimageio | 2.4.17.0+dfsg-1.1ubuntu0.1~esm1 | USN-8438-1 |
| Ubuntu Pro 20.04 LTS | openimageio | 2.1.12.0~dfsg0-1ubuntu0.1~esm1 | USN-8438-1 |
| Ubuntu Pro 18.04 LTS | openimageio | 1.7.17~dfsg0-1ubuntu2+esm1 | USN-8438-1 |
| Ubuntu Pro 16.04 LTS | openimageio | 1.6.11~dfsg0-1ubuntu1+esm2 | USN-8438-1 |
Advisories 1
- USN-8438-1 openimageio vulnerabilities Ubuntu Security Notices (USN) · Jun 17, 2026