# CVE-2026-59981: OpenEXR: Heap OOB read in SampleCountChannel row when using nonzero dataWindow

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/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.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T19:58:37.163Z
- Modified: 2026-09-09T21:07:31.353Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenEXR is the reference implementation and specification for the EXR image file format, widely used in the motion picture industry. In versions through 3.2.10, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13, the OpenEXRUtil library returns an out-of-bounds pointer from the SampleCountChannel::row() API when a deep image has a non-zero dataWindow origin. The row() accessor is documented as 0-based and computes its address from an internal base that is offset for absolute pixel coordinates, so the two coordinate models conflict whenever dataWindow.min is non-zero. For a deep image whose data window has a large negative vertical origin, row(0) points far outside the allocated sample-count buffer. An application that opens an attacker-controlled deep EXR file and accesses sample counts through row() performs an out-of-bounds read, which can crash the process or, under a controlled heap layout, return adjacent heap memory as sample-count values. This issue is fixed in versions 3.2.11, 3.3.13, and 3.4.14.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation openexr: < 3.2.11; >= 3.3.0, < 3.3.13; >= 3.4.0, < 3.4.14

## References

- <https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-m799-ffc3-8pxc> (exploit)
- <https://github.com/AcademySoftwareFoundation/openexr/commit/37f03b6ed90f3dd9910f31de3a40f25f2bc2aca1>
- <https://github.com/AcademySoftwareFoundation/openexr/commit/55b7958ecb5ac32c427ff39c1e063f6f7bbee77c>
- <https://github.com/AcademySoftwareFoundation/openexr/commit/aef02224ba282a802de65d16c49c1cdb82089dec>

## Sources

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

---

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