AcademySoftwareFoundation OpenImageIO
OpenImageIO: Cineon invalid bit depth heap out-of-bounds write
OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation. Prior to 3.0.21.0, 3.1.16.0, and 3.2.0.3-beta1, A crafted cineon image can declare unsupported component bit depth 26. cineoninput::open() maps it to a 32-bit imagespec, but libcineon maps the unsupported depth to an 8-byte value, so cineoninput::read_native_scanline() causes attacker-controlled data to be written beyond the 4-byte-per-pixel caller buffer, resulting in a heap out-of-bounds write and memory corruption. The affected implementation is identified by src/cineon.imageio/cineoninput.cpp, CineonInput::open(), CineonInput::read_native_scanline(), ComponentDataSize(), bit depth 26, and ImageSpec, which define the relevant source path, functions, state, and trigger. This issue is fixed in versions 3.0.21.0, 3.1.16.0, and 3.2.0.3-beta1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.0.21.0
- >= 3.1.0.0, < 3.1.16.0
- >= 3.2.0.0-dev, < 3.2.0.3-beta1
Fixed in 3.0.21.0, 3.1.16.0, 3.2.0.3-beta1
Mitigation
Upgrade OpenImageIO to 3.0.21.0 or 3.1.16.0 or 3.2.0.3-beta1 or later.
References
- Vendor advisory github.com/AcademySoftwareFoundation/OpenImage…
- Patch github.com/AcademySoftwareFoundation/OpenImage…
- Patch github.com/AcademySoftwareFoundation/OpenImage…
2 more
- Release notes github.com/AcademySoftwareFoundation/OpenImage…
- Release notes github.com/AcademySoftwareFoundation/OpenImage…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.