p PatchFirst

CVE-2026-45696

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.3 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • openexr

    Versions
    • >= 3.4.0, < 3.4.11: Affected

    No fix published

  • openexr Debian:14

    Versions
    • 3.1.13-2
    • 3.4.6+ds-1
    • 3.4.6+ds-2
    • 3.4.6+ds-3
    • 3.4.6+ds-4
    Affected ranges
    • ECOSYSTEM: < 3.4.14-0.1

    Update to 3.4.14-0.1

  • openexr Ubuntu:Pro:16.04:LTS

    Versions
    • 2.2.0-1ubuntu3
    • 2.2.0-7ubuntu1
    • 2.2.0-9ubuntu1
    • 2.2.0-10ubuntu2
    • 2.2.0-10ubuntu2.1
    • 2.2.0-10ubuntu2.2
    • 2.2.0-10ubuntu2.3
    • 2.2.0-10ubuntu2.4
    • 2.2.0-10ubuntu2.6
    • 2.2.0-10ubuntu2.6+esm1
    • 2.2.0-10ubuntu2.6+esm2
    • 2.2.0-10ubuntu2.6+esm3
    • 2.2.0-10ubuntu2.6+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:Pro:18.04:LTS

    Versions
    • 2.2.0-11ubuntu1
    • 2.2.0-11.1ubuntu1
    • 2.2.0-11.1ubuntu1.1
    • 2.2.0-11.1ubuntu1.2
    • 2.2.0-11.1ubuntu1.3
    • 2.2.0-11.1ubuntu1.4
    • 2.2.0-11.1ubuntu1.6
    • 2.2.0-11.1ubuntu1.7
    • 2.2.0-11.1ubuntu1.8
    • 2.2.0-11.1ubuntu1.9
    • 2.2.0-11.1ubuntu1.9+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:Pro:20.04:LTS

    Versions
    • 2.2.1-4.1ubuntu1
    • 2.3.0-6
    • 2.3.0-6build1
    • 2.3.0-6ubuntu0.1
    • 2.3.0-6ubuntu0.2
    • 2.3.0-6ubuntu0.3
    • 2.3.0-6ubuntu0.5
    • 2.3.0-6ubuntu0.5+esm1
    • 2.3.0-6ubuntu0.5+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:Pro:22.04:LTS

    Versions
    • 2.5.4-2
    • 2.5.7-1
    • 2.5.7-1ubuntu0.1~esm1
    • 2.5.7-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:Pro:24.04:LTS

    Versions
    • 3.1.5-5.1
    • 3.1.5-5.1build1
    • 3.1.5-5.1build2
    • 3.1.5-5.1build3
    • 3.1.5-5.1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:25.10

    Versions
    • 3.1.13-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:26.10

    Versions
    • 3.1.13-2build1
    • 3.4.6+ds-4ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:Pro:26.04:LTS

    Versions
    • 3.1.13-2
    • 3.1.13-2build1
    • 3.1.13-2ubuntu0.26.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →