Integer Overflow or Wraparound Affecting openimageio package, versions <3.1.18.0+dfsg-2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.18% (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 IDSNYK-DEBIANUNSTABLE-OPENIMAGEIO-16749508
  • published18 May 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-43905  (opens in a new tab)
CWE-190  (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, jpeg2000input.cpp:395 computes buffer size as const int bufsize = w * h * ch * buffer_bpp using signed 32-bit arithmetic. When the product exceeds INT_MAX, the result wraps to 0 or a small value. m_buf.resize() allocates an undersized buffer, and subsequent pixel write loops cause heap overflow. Conditional on USE_OPENJPH build flag. This vulnerability is fixed in 3.0.18.0 and 3.1.13.0.

CVSS Base Scores

version 3.1