CVE-2026-45696 OpenEXR HTJ2K decoder heap buffer over-read in ht_undo_impl() (DoS)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.4.0 through 3.4.11, the HTJ2K (High-Throughput JPEG 2000) decoder, ht_undo_impl() in OpenEXRCore is vulnerable to a heap-buffer-overflow READ. The ht_undo_imp function copies decoded pixels out of a per-line OpenJPH buffer using the EXR channel's declared width as the iteration count. The codestream embedded in the EXR chunk can declare different (smaller) tile/line dimensions than the EXR header advertises, but ht_undo_impl() does not validate this — it pulls width 32-bit samples from cur_line->i32[] without checking the OpenJPH line buffer's actual length. A crafted EXR file produces a 4-byte heap-buffer-overflow READ immediately after a buffer allocated by ojph::local::codestream::finalize_alloc(). The bug is reachable through the standard scanline-decode entry point used by every consumer of exr_decoding_run/Imf::checkOpenEXRFile, including thumbnailers, asset pipelines, and the exrcheck utility — i.e. any application that opens untrusted EXR files. The result is a deterministic crash (DoS) and potential adjacent-heap leak. This issue has been fixed in version 3.4.12.
Upgrade path
10 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/openexr(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/openexr(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/openexr(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/openexr(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/openexr(Alpine v3.23) | >= 3.4.0, < 3.4.13-r0 | 3.4.13-r0 | Fixed |
| alpine/openexr(Alpine v3.24) | >= 3.4.0, < 3.4.13-r0 | 3.4.13-r0 | Fixed |
| debian/openexr(Debian 14) | < 3.4.14-0.1; = 3.1.13-2; = 3.4.6+ds-1; = 3.4.6+ds-2 +2 more | 3.4.14-0.1 | Fixed |
| openexr | >= 3.4.0, < 3.4.12 | 3.4.12 | Fixed |
| AcademySoftwareFoundation openexr | = >= 3.4.0, < 3.4.11 | No fix listed | Versions listed |
| redhat enterprise linux | = 6; = 7; = 8; = 9 +1 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| AcademySoftwareFoundation openexr | = >= 3.4.0, < 3.4.11 | No fix listed |
| redhat enterprise linux | = 10 | No fix listed |
| redhat enterprise linux | = 6 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat/openexr(Red Hat:rhel_els:6) | All versions | No fix listed |
| debian/openexr(Debian:14) | < 3.4.14-0.1 | 3.4.14-0.1 |
| debian/openexr(Debian:14) | = 3.1.13-2 | No fix listed |
| debian/openexr(Debian:14) | = 3.4.6+ds-1 | No fix listed |
| debian/openexr(Debian:14) | = 3.4.6+ds-2 | No fix listed |
| debian/openexr(Debian:14) | = 3.4.6+ds-3 | No fix listed |
| debian/openexr(Debian:14) | = 3.4.6+ds-4 | No fix listed |
| ubuntu/openexr(Ubuntu:22.04) | All versions | No fix listed |
| alpine/openexr(Alpine:v3.23) | >= 3.4.0, < 3.4.13-r0 | 3.4.13-r0 |
| alpine/openexr(Alpine:v3.24) | >= 3.4.0, < 3.4.13-r0 | 3.4.13-r0 |
| ubuntu/openexr(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/openexr(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/openexr(Ubuntu:26.10) | All versions | No fix listed |
| openexr | >= 3.4.0, < 3.4.12 | 3.4.12 |
References
- https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-gjpj-qv64-vwhf exploit vendor-advisory
- https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.12 release-notes
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2490597 issue-tracking
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-45696 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory