CVE Catalog

CVE-2026-43905

High
Published: Translated: NVD NIST

Summary

OpenImageIO prior to versions 3.0.18.0 and 3.1.13.0 has a vulnerability related to buffer size calculation in jpeg2000input.cpp, leading to heap overflow. This issue occurs when the product of image dimensions exceeds the maximum value for 32-bit arithmetic, resulting in the allocation of an undersized buffer.

Risk Assessment

Heap overflow can lead to unauthorized memory access, posing a risk of malicious code execution and potential system takeover. Organizations should be aware of the threats associated with using vulnerable versions of the software.

Recommendation

It is recommended to update OpenImageIO to versions 3.0.18.0 or 3.1.13.0 to mitigate this vulnerability. Additionally, it is advisable to monitor and test applications using this tool for potential issues.

Other vulnerabilities in OpenImageIO

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS