Integer Overflow or Wraparound Affecting openimageio package, versions [,3.1.13.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th 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-CONAN-OPENIMAGEIO-16700527
  • published15 May 2026
  • disclosed14 May 2026
  • creditMedoedus

Introduced: 14 May 2026

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

How to fix?

Upgrade openimageio to version 3.1.13.1 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