CVE-2026-59981OpenEXR: Heap OOB read in SampleCountChannel row when using nonzero dataWindow
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | openexr | Fix pending | UBUNTU-CVE-2026-59981 | |
| Ubuntu 26.04 | openexr | Fix pending | UBUNTU-CVE-2026-59981 | |
| Ubuntu 24.04 | openexr | Fix pending | UBUNTU-CVE-2026-59981 | |
| Ubuntu 22.04 | openexr | Fix pending | UBUNTU-CVE-2026-59981 | |
| Ubuntu 20.04 | openexr | Fix pending | UBUNTU-CVE-2026-59981 | |
| Ubuntu 18.04 | openexr | Fix pending | UBUNTU-CVE-2026-59981 | |
| Ubuntu 16.04 | openexr | Fix pending | UBUNTU-CVE-2026-59981 | |
| Debian 14 | openexr | Fixed | 3.4.14-0.1 | DEBIAN-CVE-2026-59981 |
| Debian 13 | openexr | Fixed | 3.2.12-1~deb13u1 | DEBIAN-CVE-2026-59981 |
| Debian 12 | openexr | Fix pending | DEBIAN-CVE-2026-59981 | |
| Red Hat Enterprise Linux 10 | openexr | Fixed | 0:3.1.10-8.el10_2.5 | RHSA-2026:98575 |
| Red Hat Enterprise Linux 10 | openexr-devel | Fixed | 0:3.1.10-12.el10_3.2 | RHSA-2026:84796 |
| Red Hat Enterprise Linux 10 | openexr-libs | Fixed | 0:3.1.10-12.el10_3.2 | RHSA-2026:84796 |
| Red Hat Enterprise Linux 9 | openexr | Fixed | 0:3.1.1-3.el9_8.5 | RHSA-2026:98471 |
| Red Hat Enterprise Linux 9 | openexr-devel | Fixed | 0:3.1.1-3.el9_8.5 | RHSA-2026:98471 |
| Red Hat Enterprise Linux 9 | openexr-libs | Fixed | 0:3.1.1-3.el9_8.5 | RHSA-2026:98471 |
| Red Hat Enterprise Linux 8 | OpenEXR | Fixed | 0:2.2.0-12.el8_10.3 | RHSA-2026:82345 |
| Red Hat Enterprise Linux 8 | OpenEXR-devel | Fixed | 0:2.2.0-12.el8_10.3 | RHSA-2026:82345 |
| Red Hat Enterprise Linux 8 | OpenEXR-libs | Fixed | 0:2.2.0-12.el8_10.3 | RHSA-2026:82345 |
| Red Hat Enterprise Linux 7 | OpenEXR | Not affected | ||
| Red Hat Enterprise Linux 7 | OpenEXR-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | OpenEXR-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | OpenEXR | Not affected | ||
| Red Hat Enterprise Linux 6 | OpenEXR-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | OpenEXR-libs | Not affected | ||
| AlmaLinux 10 | openexr | Fixed | 3.1.10-12.el10_3.2 | ALSA-2026:84796 |
| AlmaLinux 10 | openexr-devel | Fixed | 3.1.10-12.el10_3.2 | ALSA-2026:84796 |
| AlmaLinux 10 | openexr-libs | Fixed | 3.1.10-8.el10_2.5 | ALSA-2026:98575 |
| AlmaLinux 9 | openexr | Fixed | 3.1.1-6.el9_9.2 | ALSA-2026:98471 |
| AlmaLinux 9 | openexr-devel | Fixed | 3.1.1-3.el9_8.5 | ALSA-2026:98471 |
| AlmaLinux 9 | openexr-libs | Fixed | 3.1.1-6.el9_9.2 | ALSA-2026:98471 |
| AlmaLinux 8 | OpenEXR-devel | Fixed | 2.2.0-12.el8_10.3 | ALSA-2026:82345 |
| AlmaLinux 8 | OpenEXR-libs | Fixed | 2.2.0-12.el8_10.3 | ALSA-2026:82345 |
| Rocky Linux 10 | openexr | Fixed | 0:3.1.10-12.el10_3.2 | RLSA-2026:84796 |
| Rocky Linux 10 | openexr-devel | Fixed | 0:3.1.10-12.el10_3.2 | RLSA-2026:98575 |
| Rocky Linux 10 | openexr-libs | Fixed | 0:3.1.10-12.el10_3.2 | RLSA-2026:98575 |
| Rocky Linux 9 | openexr | Fixed | 0:3.1.1-6.el9_9.2 | RLSA-2026:86983 |
| Rocky Linux 9 | openexr-devel | Fixed | 0:3.1.1-6.el9_9.2 | RLSA-2026:98471 |
| Rocky Linux 9 | openexr-libs | Fixed | 0:3.1.1-6.el9_9.2 | RLSA-2026:98471 |
| Rocky Linux 8 | OpenEXR | Fixed | 0:2.2.0-12.el8_10.3 | RLSA-2026:82345 |
| Alpine Linux 3.24 | openexr | Fixed | 3.4.15-r0 | ALPINE-CVE-2026-59981 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- AcademySoftwareFoundation openexr: affected: < 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
- https://github.com/AcademySoftwareFoundation/openexr/commit/37f03b6ed90f3dd9910f31de3a40f25f2bc2aca1
- https://github.com/AcademySoftwareFoundation/openexr/commit/55b7958ecb5ac32c427ff39c1e063f6f7bbee77c
- https://github.com/AcademySoftwareFoundation/openexr/commit/aef02224ba282a802de65d16c49c1cdb82089dec
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.