Integer Overflow or Wraparound Affecting OpenImageIO/oiio package, versions [,3.0.18.0)[3.1.4.0-beta,3.1.13.0)[3.2.0.0-dev,3.2.0.2-dev)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (3rd 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OPENIMAGEIOOIIO-16700526
  • published15 May 2026
  • disclosed14 May 2026
  • creditMedoedus

Introduced: 14 May 2026

NewCVE-2026-43905  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade OpenImageIO/oiio to version 3.0.18.0, 3.1.13.0, 3.2.0.2-dev or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the jpeg2000input.cpp process when calculating buffer size using signed 32-bit arithmetic. An attacker can trigger a heap overflow by providing crafted image dimensions that cause integer overflow, resulting in an undersized buffer allocation and subsequent out-of-bounds writes during pixel processing. This is only exploitable if the USE_OPENJPH build flag is enabled.

CVSS Base Scores

version 4.0
version 3.1