CVE-2026-43996: OpenImageIO: Integer wraparound in bounds check of decode_pixel leads to out-of-bounds read in TGA paletted image decoder
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::decodepixel computes k + palbytespp as unsigned 32-bit arithmetic. When k = 0xFFFFFFFC and palbytespp = 4, the addition wraps to 0, which compares less than paletteallocsize 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43996?
The severity of CVE-2026-43996 is classified as high due to the potential for out-of-bounds read leading to information disclosure.
How do I fix CVE-2026-43996?
To fix CVE-2026-43996, update OpenImageIO to version 3.0.18.0 or 3.1.13.0 or later.
What types of software are affected by CVE-2026-43996?
CVE-2026-43996 affects OpenImageIO versions prior to 3.0.18.0 and 3.1.13.0.
What is the impact of CVE-2026-43996?
The impact of CVE-2026-43996 can lead to an application crash or potential exploitation via crafted TGA files.
When was CVE-2026-43996 reported?
CVE-2026-43996 was reported before the release of the fixed versions of OpenImageIO.