CVE 7.1 HIGH

OpenImageIO: JPEG2000 (OpenJPH) signed integer overflow in buffer allocation_CVE-2026-43905

7.1 / 10
HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

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.

Basic Information

ID CVE-2026-43905
Source GitHub_M
Published May 14, 2026 at 19:09
Modified May 14, 2026 at 19:37

Affected Product

Vendor AcademySoftwareFoundation
Product OpenImageIO
Version < 3.0.18.0
Affected Versions AcademySoftwareFoundation OpenImageIO < 3.0.18.0
AcademySoftwareFoundation OpenImageIO >= 3.1.4.0-beta, < 3.1.13.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.