Description
OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation. Prior to 3.1.16.0, A crafted 1-bit contiguous cmyk tiff is exposed through a native uint1 imagespec, so callers allocate a bit-packed buffer. tiffinput::read_native_scanline_locked() nevertheless invokes tiffinput::bit_convert() with 8-bit output and writes one expanded byte per value into that smaller buffer, resulting in a heap out-of-bounds write and memory corruption. The affected implementation is identified by src/tiff.imageio/tiffinput.cpp, TIFFInput::bit_convert(), TIFFInput::read_native_scanline_locked(), PHOTOMETRIC_SEPARATED, 1-bit CMYK, and native uint1 ImageSpec, which define the relevant source path, functions, state, and trigger. This issue is fixed in 3.1.16.0.
Severity (CVSS)
| Base score | 7.6 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H |
| Provided by | CNA |
Weaknesses
- CWE-122 — CWE-122: Heap-based Buffer Overflow
- CWE-131 — CWE-131: Incorrect Calculation of Buffer Size
- CWE-787 — CWE-787: Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | < 3.1.16.0 |
References
- https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-3wxw-rqhw-j2w4 (x_refsource_CONFIRM)
- https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5296 (x_refsource_MISC)
- https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/6e9b86ee4cce8fd7bed6cfb101a266d8f8a296d4 (x_refsource_MISC)
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.16.0 (x_refsource_MISC)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.