CVE-2026-59956

OpenImageIO: Heap-buffer-overread in IffInput::readimg() when ZBUFFER flag is set

State
Published
Severity
6.1 Medium
Published
Sep 18, 2026
Updated
Sep 18, 2026
Reserved
Jul 7, 2026

Read the record on cve.org

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.20.0, 3.1.15.0, and 3.2.0.3-beta1, An uncompressed 16-bit iff image with a z-buffer makes iffinput::readimg() allocate a temporary scanline from m_header.rgba_count but copy from it using m_header.pixel_bytes(), whose stride also includes z-buffer bytes. the oversized memcpy reads beyond the temporary heap buffer and copies adjacent memory into the output image, resulting in a crash or disclosure of adjacent heap data. The affected implementation is identified by src/iff.imageio/iffinput.cpp, IffInput::readimg(), m_header.rgba_count, and m_header.pixel_bytes(), which define the relevant source path, functions, state, and trigger. This issue is fixed in versions 3.0.20.0, 3.1.15.0, and 3.2.0.3-beta1.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
OpenImageIOAcademySoftwareFoundation
  • < 3.0.20.0Affected
  • >= 3.1.0.0, < 3.1.15.0Affected
  • >= 3.2.0.0-dev, < 3.2.0.3-beta1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.