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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.32% (percentile 17, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-08-25T19:58:37.163Z
- **Modified:** 2026-09-09T21:07:31.353Z

## Who should check

- Anyone running AcademySoftwareFoundation openexr \< 3.2.11; \>= 3.3.0, \< 3.3.13; \>= 3.4.0, \< 3.4.14

## 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.

## Affected and fixed versions

- AcademySoftwareFoundation openexr: \< 3.2.11; \>= 3.3.0, \< 3.3.13; \>= 3.4.0, \< 3.4.14 (cvelist)

## Mitigation

- Upgrade openexr to 3.4.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-59981. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-59981.md
Affected: AcademySoftwareFoundation openexr < 3.2.11; >= 3.3.0, < 3.3.13; >= 3.4.0, < 3.4.14
Fixed in: AcademySoftwareFoundation openexr 3.2.11, AcademySoftwareFoundation openexr 3.3.13, AcademySoftwareFoundation openexr 3.4.14

Steps:
1. Search this machine and project for AcademySoftwareFoundation openexr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-59981 being exploited?

There is no confirmed exploitation: CVE-2026-59981 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-59981?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-59981?

AcademySoftwareFoundation openexr \< 3.2.11; \>= 3.3.0, \< 3.3.13; \>= 3.4.0, \< 3.4.14.

### Is there a fix for CVE-2026-59981?

Yes. Fixed in AcademySoftwareFoundation openexr 3.2.11, AcademySoftwareFoundation openexr 3.3.13, AcademySoftwareFoundation openexr 3.4.14. Upgrade openexr to 3.4.14 or later.

### How do I check if I'm affected by CVE-2026-59981?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-59981>

HTML: <https://flawdb.com/CVE-2026-59981> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-59981>
