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.21.0, 3.1.16.0, and 3.2.0.3-beta1, A valid tiled openexr image whose width is not a multiple of its tile width can trigger an overflow when a caller reads a partial edge-tile rectangle. openexrinput::read_native_tiles() copies each row into the caller buffer using the padded whole-tile scanline_stride rather than user_scanline_bytes for the requested rectangle, resulting in a heap out-of-bounds write and memory corruption. The affected implementation is identified by src/openexr.imageio/exrinput.cpp, OpenEXRInput::read_native_tiles(), partial edge tile, user_scanline_bytes, and scanline_stride, 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.
Severity (CVSS)
| Base score | 7.8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-122 — CWE-122: Heap-based Buffer Overflow
- CWE-787 — CWE-787: Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| AcademySoftwareFoundation | OpenImageIO | < 3.0.21.0; >= 3.1.0.0, < 3.1.16.0; >= 3.2.0.0-dev, < 3.2.0.3-beta1 |
References
- https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-xh5r-whph-qmc5 (x_refsource_CONFIRM)
- https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5295 (x_refsource_MISC)
- https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/7303134f13b0f9dc738b8ecabecd8c9f90cbd4c9 (x_refsource_MISC)
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.21.0 (x_refsource_MISC)
- https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.16.0 (x_refsource_MISC)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.