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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T15:33:22.599Z
- Modified: 2026-09-29T18:56:57.197Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.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.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation OpenImageIO: < 3.0.20.0; >= 3.1.0.0, < 3.1.15.0; >= 3.2.0.0-dev, < 3.2.0.3-beta1
- openimageio openimageio: before 3.0.20.0; from 3.1.0.0 up to 3.1.15.0; 3.2.0.0; 3.2.0.2

## References

- <https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-hjfv-gvxc-qgvh> (exploit, vendor-advisory)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/5251> (issue-tracking, patch)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/f01bd16764b2a06f372899e3e302280a7f9c8c02> (patch)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.0.20.0> (release-notes)
- <https://github.com/AcademySoftwareFoundation/OpenImageIO/releases/tag/v3.1.15.0> (release-notes)

## Sources

- CVE List: [CVE-2026-59956](https://www.cve.org/CVERecord?id=CVE-2026-59956), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-59956](https://nvd.nist.gov/vuln/detail/CVE-2026-59956), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-59956 · Whole record: https://cve.day/CVE-2026-59956.json · Rebuilt by cve.day 2026-11-25T22:59:39.614Z
