# CVE-2026-45696: OpenEXR HTJ2K decoder heap buffer over-read in ht_undo_impl() (DoS)

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA: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.29%, higher than 23% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T20:31:56.603Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-122, 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 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.

(As written by CVE List.)

## Affected

- AcademySoftwareFoundation openexr: >= 3.4.0, < 3.4.11
- OpenEXR: no versions given
- openexr openexr: from 3.4.0 before 3.4.12

## Every score

- GitHub_M: CVSS:4.0 8.3 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H`
- redhat-SADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## 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)
- <https://access.redhat.com/security/cve/CVE-2026-45696> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2490597> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45696.json>

## Sources

- CVE List: [CVE-2026-45696](https://www.cve.org/CVERecord?id=CVE-2026-45696), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-45696](https://nvd.nist.gov/vuln/detail/CVE-2026-45696), Public domain, modified 2026-10-25

---

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