Description (CNA)
OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation. Prior to 3.0.21.0, 3.1.16.0, and 3.2.0.3-beta1, A crafted psd with an invalid color_mode bypasses normal validation when oiio:rawcolor or psd:rawdata is enabled. psdinput::setup() then uses the attacker-controlled value to index fixed color-mode tables, causing a global out-of-bounds read and potentially a bogus allocation, resulting in denial of service. The affected implementation is identified by src/psd.imageio/psdinput.cpp, PSDInput::validate_header(), PSDInput::setup(), oiio:RawColor, psd:RawData, color_mode, and mode_channel_count, which define the relevant source path, functions, state, and trigger. This issue is fixed in versions 3.0.21.0, 3.1.16.0, and 3.2.0.3-beta1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| AcademySoftwareFoundation / OpenImageIO | affected < 3.0.21.0; affected >= 3.1.0.0, < 3.1.16.0; affected >= 3.2.0.0-dev, < 3.2.0.3-beta1 |
CWE
CWE-125, CWE-129
References
- https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-3c8w-9xvm-r6gf
- https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5282
- https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/50481b0f90932a4675f65f3cc26407139cb9e20e
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.21.0
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.16.0
ADP enrichment
No English description supplied.