Vulnerability · Published Sep 18, 2026 · Assigned by GitHub_M
CVE-2026-59181OpenImageIO: Stack buffer overflow in OpenImageIO Cineon reader via unchecked numberOfElements
Medium 6.1
In plain English
A medium-severity stack buffer overflow in OpenImageIO from AcademySoftwareFoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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, A crafted cineon file can supply a numberofelements value greater than the format maximum of eight. cineoninput::open() uses that unchecked value as the loop bound while filling the fixed strings[8] array, writing pointers beyond the stack buffer and into adjacent state, resulting in memory corruption and denial of service. The affected implementation is identified by src/cineon.imageio/cineoninput.cpp, CineonInput::open(), numberOfElements, and strings[8], 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openimageio | no fix listed | DEBIAN-CVE-2026-59181 |
| Debian:13 | openimageio | no fix listed | DEBIAN-CVE-2026-59181 |
| Debian:14 | openimageio | 3.1.18.0+dfsg-2 | DEBIAN-CVE-2026-59181 |
| Ubuntu:22.04:LTS | openimageio | no fix listed | UBUNTU-CVE-2026-59181 |
| Ubuntu:26.10 | openimageio | no fix listed | UBUNTU-CVE-2026-59181 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | < 3.0.20.0>= 3.1.0.0, < 3.1.15.0>= 3.2.0.0-dev, < 3.2.0.3-beta1 |
Weakness: CWE-121, CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
References
- https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xh8r-vmqq-56pp x_refsource_CONFIRM
- https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5250 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/908f22f5528e88e5e96184c194caa26b54b2b85f x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0 x_refsource_MISC
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0 x_refsource_MISC