7.1high
OpenImageIO: JPEG2000 (OpenJPH) signed integer overflow in buffer allocation
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AcademySoftwareFoundation OpenImageIO | < 3.0.18.0, >= 3.1.4.0-beta, < 3.1.13.0 | CVE List |
| openimageio openimageio | before 3.0.18.0, from 3.1.4.0 before 3.1.13.0 | NVD |
All scores
| GitHub_M | 7.1high CVSS:4.0 | 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 |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
OpenImageIO es un conjunto de herramientas para leer, escribir y manipular archivos de imagen de cualquier formato de archivo de imagen relevante para VFX / animación. Antes de 3.0.18.0 y 3.1.13.0, jpeg2000input.cpp:395 calcula el tamaño del búfer como const int bufsize = w * h * ch * buffer_bpp utilizando aritmética de 32 bits con signo. Cuando el producto excede INT_MAX, el resultado se ajusta a 0 o a un valor pequeño. m_buf.resize() asigna un búfer de tamaño insuficiente, y los bucles de escritura de píxeles posteriores causan desbordamiento de montículo. Condicional a la bandera de compilación USE_OPENJPH. Esta vulnerabilidad se corrige en 3.0.18.0 y 3.1.13.0.
References
| https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-pj45-cf3g-28gq | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43905 changed 2026-05-14 | CVE Terms of Use |
| NVD | CVE-2026-43905 changed 2026-10-26 | Public domain |