Skip to content
OpenAdvisories
High · 8.3 CVE-2026-45696 EUVD-2026-37948

OpenEXR HTJ2K decoder heap buffer over-read in ht_undo_impl() (DoS)

Published Jun 18, 2026 · Updated Jul 15, 2026 · 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.

Affected products

VendorProductAffectedFixed
AcademySoftwareFoundation openexr >= 3.4.0, < 3.4.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openexr 3.4.14-0.1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openexr No fix yet —
Ubuntu 25.10 openexr No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS openexr No fix yet —
Ubuntu Pro 24.04 LTS openexr No fix yet —
Ubuntu Pro 22.04 LTS openexr No fix yet —
Ubuntu Pro 20.04 LTS openexr No fix yet —
Ubuntu Pro 18.04 LTS openexr No fix yet —
Ubuntu Pro 16.04 LTS openexr No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openexr 3.4.12-1.1 openSUSE-SU-2026:10985-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openexr 3.4.13-r0 —
Alpine v3.23 openexr 3.4.13-r0 —

Advisories 1

References