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, the bounds check in TGAInput::decode_pixel computes k + palbytespp as unsigned 32-bit arithmetic. When k = 0xFFFFFFFC and palbytespp = 4, the addition wraps to 0, which compares less than palette_alloc_size and passes the check.
The subsequent palette access uses the unwrapped k (0xFFFFFFFC) as the index, reading ~4 GB past the start of the palette buffer — SEGV. This vulnerability is fixed in 3.0.18.0 and 3.1.13.0.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Openimageio Openimageio
cpe:2.3:a:openimageio:openimageio:*:*:*:*:*:*:*:*
|
— |
3.0.18.0
|
|
Openimageio Openimageio
cpe:2.3:a:openimageio:openimageio:*:*:*:*:*:*:*:*
|
3.1.0.0
|
3.1.13.0
|
|
Openimageio Openimageio
cpe:2.3:a:openimageio:openimageio:3.2.0.0:dev:*:*:*:*:*:*
|
— | — |
|
Openimageio Openimageio
cpe:2.3:a:openimageio:openimageio:3.2.0.2:dev:*:*:*:*:*:*
|
— | — |