5.5medium
OpenImageIO: Integer wraparound in bounds check of decode_pixel leads to out-of-bounds read in TGA paletted image decoder
- Severity
- 5.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AcademySoftwareFoundation OpenImageIO | < 3.0.18.0, >= 3.1.4.0-beta, < 3.1.13.0 | CVE List |
| openimageio openimageio | before 3.0.18.0, from 3.1.0.0 before 3.1.13.0, 3.2.0.0, 3.2.0.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
OpenImageIO es un conjunto de herramientas para leer, escribir y manipular archivos de imagen de cualquier formato de archivo de imagen relevante para VFX / animación. Antes de 3.0.18.0 y 3.1.13.0, la comprobación de límites en TGAInput::decode_pixel calcula k + palbytespp como aritmética sin signo de 32 bits. Cuando k = 0xFFFFFFFC y palbytespp = 4, la suma se ajusta a 0, lo que se compara como menor que palette_alloc_size y pasa la comprobación. El acceso posterior a la paleta utiliza la k sin ajustar (0xFFFFFFFC) como índice, leyendo ~4 GB más allá del inicio del búfer de la paleta - SEGV. Esta vulnerabilidad se corrige en 3.0.18.0 y 3.1.13.0.
References
| https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-mq8j-73c4-cr55 | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43996 changed 2026-05-16 | CVE Terms of Use |
| NVD | CVE-2026-43996 changed 2026-10-26 | Public domain |