{"id":"CVE-2026-45696","published":"2026-06-18T20:31:56Z","modified":"2026-07-15T00:52:21Z","title":"OpenEXR HTJ2K decoder heap buffer over-read in ht_undo_impl() (DoS)","vendor":"AcademySoftwareFoundation","product":"openexr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.3696,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-gjpj-qv64-vwhf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.12","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-45696","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2490597","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45696.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":7.39},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"academysoftwarefoundation","affectedVersions":[{"vendor":"AcademySoftwareFoundation","product":"openexr","versions":[">= 3.4.0, < 3.4.11"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T15:34:14.896018Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-37948","exploited":false,"provenance":"source"}}