Out-of-bounds Read Affecting openimageio package, versions <3.1.18.0+dfsg-2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.16% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-OPENIMAGEIO-16749538
  • published18 May 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-43996  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Debian:unstable openimageio to version 3.1.18.0+dfsg-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openimageio package and not the openimageio package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.