Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-43996 EUVD-2026-30417

OpenImageIO: Integer wraparound in bounds check of decode_pixel leads to out-of-bounds read in TGA paletted image decoder

Published May 14, 2026 · Updated May 16, 2026 · 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 products

VendorProductAffectedFixed
AcademySoftwareFoundation OpenImageIO < 3.0.18.0, >= 3.1.4.0-beta, < 3.1.13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openimageio 3.1.18.0+dfsg-2 —
Debian 13 openimageio No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openimageio No fix yet —
Ubuntu 25.10 openimageio No fix yet —
Ubuntu 22.04 LTS openimageio No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS openimageio No fix yet —
Ubuntu Pro 24.04 LTS openimageio No fix yet —
Ubuntu Pro 20.04 LTS openimageio No fix yet —
Ubuntu Pro 18.04 LTS openimageio No fix yet —
Ubuntu Pro 16.04 LTS openimageio No fix yet —

References