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.20.0, 3.1.15.0, and 3.2.0.3-beta1, An uncompressed 16-bit iff image with a z-buffer makes iffinput::readimg() allocate a temporary scanline from m_header.rgba_count but copy from it using m_header.pixel_bytes(), whose stride also includes z-buffer bytes. the oversized memcpy reads beyond the temporary heap buffer and copies adjacent memory into the output image, resulting in a crash or disclosure of adjacent heap data. The affected implementation is identified by src/iff.imageio/iffinput.cpp, IffInput::readimg(), m_header.rgba_count, and m_header.pixel_bytes(), which define the relevant source path, functions, state, and trigger. This issue is fixed in versions 3.0.20.0, 3.1.15.0, and 3.2.0.3-beta1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | < 3.0.20.0, >= 3.1.0.0, < 3.1.15.0, >= 3.2.0.0-dev, < 3.2.0.3-beta1 | — |
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 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 | No fix yet | — |
| Ubuntu Pro 24.04 LTS | openimageio | No fix yet | — |
| Ubuntu Pro 20.04 LTS | openimageio | No fix yet | — |
| Ubuntu Pro 18.04 LTS | openimageio | No fix yet | — |
| Ubuntu Pro 16.04 LTS | openimageio | No fix yet | — |
References
- https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-hjfv-gvxc-qgvh
- https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5251
- https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0