OpenEXR#

OpenEXR provides the specification and reference implementation of the EXR file format, the professional-grade image storage format of the motion picture industry.

The purpose of the EXR format is to accurately and efficiently represent high-dynamic-range scene-linear image data. This is a significant difference from most image formats, which store images that are ready for display. Software may need to process OpenEXR images differently from other image formats such as JPEG (see Scene-Linear Image Representation for more details). OpenEXR files have strong support for multi-part, multi-channel use cases, and extensive representation of associated metadata.

OpenEXR is widely used in host application software where accuracy is critical, such as photorealistic rendering, texture access, image compositing, deep compositing, and DI.

OpenEXR is a project of the Academy Software Foundation.

Latest News#

_images/news.png

November 22, 2026 - OpenEXR 3.5.5, 3.4.19, 3.3.17 Released

OpenEXR v3.3.5 is a patch release that fixes several bugs, most involving corrupt or malformed input files that could trigger out-of-bounds issues on read:

  • Hardened header parsing: the parser now properly cleans up after a failed attribute read (2868)

  • Fixed handling of corrupt DWA-compressed images (2866)

  • Fixed integer overflow bugs in RgbaLut::apply, deep sample-count table offsets, and the CompositeDeepScanLine pixel index (2861, 2843, 2844)

  • Zero-length deep scanline sample-count tables are now rejected (2857)

  • Added a buffer-size check in the HTJ2K header writer (2838)

  • Fixed DECREASING_Y chunk offsets and x-subsampled row stride in the legacy Python OutputFile.writePixels() (2876, 2870)

Also:

  • Lossy HTJ2K LUTs are now computed on demand rather than at startup (2871)

  • exrmultipart now supports splitting tiled multiview images (2829)

  • Updated the Bazel build’s OpenJPH dependency to v0.33.0 (2856)

  • CI now builds and tests the Python bindings under ASan + UBSan, and adds an emulated 32-bit armv7 test job (2865, 2860)

This release addresses the following security vulnerability:

  • *CVE Pending* (GHSA-HJW7-CQX6-RWQ5) Integer overflow in CompositeDeepScanLine pixel index causes heap out-of-bounds access

OpenEXR v3.4.19 is a patch release for OpenEXR v3.4 that addresses the following security vulnerabilities:

  • *CVE Pending* (GHSA-HJW7-CQX6-RWQ5) Integer overflow in CompositeDeepScanLine pixel index causes heap out-of-bounds access

  • *CVE Pending* (GHSA-HRP4-XJP5-CQ7J) Misaligned pointer store in ht_undo_impl() (HTJ2K decode, internal_ht.cpp)

OpenEXR v3.3.17 is a patch release for OpenEXR v3.3 that addresses a security vulnerability:

  • *CVE Pending* (GHSA-HJW7-CQX6-RWQ5) Integer overflow in CompositeDeepScanLine pixel index causes heap out-of-bounds access

Imath#

The OpenEXR project includes Imath, a basic, light-weight, and efficient C++ representation of 2D and 3D vectors and matrices and other simple but useful mathematical objects, functions, and data types common in computer graphics applications, including the half 16-bit floating-point type.

Imath also includes optional python bindings for all types and functions, including optimized implementations of vector and matrix arrays.

Quick Start#

You can install OpenEXR using package managers or build the library yourself from the source on github following the compile instructions

For a simple program that uses the C++ API to read and write a .exr file, see the Hello, World examples.

Community#

Resources#