Skip to content
OpenAdvisories
Critical USN-9301-1 20 CVEs

openexr vulnerabilities

Published Dec 1, 2026 · Updated Dec 2, 2026

Summary

It was discovered that OpenEXR incorrectly handled subsampled channels when
compositing deep scan line images, leading to a heap-based buffer overflow.
An attacker could possibly use this issue to cause OpenEXR to crash,
resulting in a denial of service, or execute arbitrary code. This issue
only affected Ubuntu 22.04 LTS. (CVE-2021-45942)

It was discovered that OpenEXR did not properly validate the number of
samples in deep scan line image files, leading to a heap-based buffer
overflow. An attacker could possibly use this issue to cause OpenEXR to
crash, resulting in a denial of service, or execute arbitrary code. This
issue only affected Ubuntu 24.04 LTS. (CVE-2023-5841)

It was discovered that OpenEXR incorrectly handled certain uncompressed
tiled image files, leading to a heap-based buffer overflow. An attacker
could possibly use this issue to cause OpenEXR to crash, resulting in a
denial of service, or execute arbitrary code. This issue only affected
Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2025-12495)

It was discovered that OpenEXR incorrectly calculated chunk sizes for scan
line image files that had a tiles attribute, leading to a heap-based buffer
overflow. An attacker could possibly use this issue to cause OpenEXR to
crash, resulting in a denial of service, or execute arbitrary code. This
issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2025-12839)

It was discovered that OpenEXR had an integer overflow when resizing image
channels, leading to a heap-based buffer overflow. An attacker could
possibly use this issue to cause OpenEXR to crash, resulting in a denial of
service, or execute arbitrary code. (CVE-2026-41142)

It was discovered that OpenEXR incorrectly parsed certain ID manifest
attributes. An attacker could possibly use these issues to cause a denial
of service. These issues only affected Ubuntu 24.04 LTS and
Ubuntu 26.04 LTS. (CVE-2026-42216, CVE-2026-42217)

It was discovered that OpenEXR incorrectly calculated row coordinates when
setting sample counts in deep images, leading to a heap-based buffer
overflow. An attacker could possibly use this issue to cause OpenEXR to
crash, resulting in a denial of service, or execute arbitrary code.
(CVE-2026-55059)

It was discovered that OpenEXR incorrectly handled very large sample counts
in deep images. An attacker could possibly use this issue to cause OpenEXR
to enter an infinite loop, resulting in a denial of service.
(CVE-2026-55373)

It was discovered that OpenEXR had an integer overflow when decoding
certain deep tiled image files. An attacker could possibly use this issue
to cause OpenEXR to crash, resulting in a denial of service. This issue
only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-59183)

It was discovered that OpenEXR incorrectly handled row access for flat
images with a non-zero data window origin, leading to an out-of-bounds
write. An attacker could possibly use this issue to cause OpenEXR to crash,
resulting in a denial of service, or execute arbitrary code.
(CVE-2026-59184)

It was discovered that OpenEXR incorrectly calculated buffer sizes when
reading certain tiled image files on 32-bit platforms, leading to a
heap-based buffer overflow. An attacker could possibly use this issue to
cause OpenEXR to crash, resulting in a denial of service, or execute
arbitrary code. (CVE-2026-59186)

It was discovered that OpenEXR incorrectly handled row access for deep
images with a non-zero data window origin, leading to an out-of-bounds
read. An attacker could possibly use these issues to cause OpenEXR to
crash, resulting in a denial of service, or obtain sensitive information.
(CVE-2026-59189, CVE-2026-59981, CVE-2026-59982)

It was discovered that OpenEXR incorrectly calculated the size of the
sample count table when decoding certain deep tiled image files on 32-bit
platforms, leading to an out-of-bounds read. An attacker could possibly use
this issue to cause OpenEXR to crash, resulting in a denial of service.
This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS.
(CVE-2026-59983)

It was discovered that OpenEXR incorrectly calculated buffer sizes when
decoding certain B44-compressed image files on 32-bit platforms, leading to
a heap-based buffer overflow. An attacker could possibly use this issue to
cause OpenEXR to crash, resulting in a denial of service, or execute
arbitrary code. This issue only affected Ubuntu 24.04 LTS and
Ubuntu 26.04 LTS. (CVE-2026-59984)

It was discovered that OpenEXR incorrectly calculated buffer sizes when
decoding certain RLE-compressed image files on 32-bit platforms, leading to
an out-of-bounds read. An attacker could possibly use this issue to cause
OpenEXR to crash, resulting in a denial of service. This issue only
affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-59985)

It was discovered that OpenEXR incorrectly handled multi-part image files
with an empty multiView attribute, leading to an out-of-bounds read. An
attacker could possibly use this issue to cause OpenEXR to crash, resulting
in a denial of service. (CVE-2026-61555)

It was discovered that the exrmultiview tool in OpenEXR incorrectly handled
certain input files with subsampled channels, leading to a heap-based
buffer overflow. An attacker could possibly use this issue to cause
exrmultiview to crash, resulting in a denial of service, or execute
arbitrary code. (CVE-2026-68515)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS openexr 2.5.7-1ubuntu0.1~esm3
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS openexr 3.1.5-5.1ubuntu0.1~esm2
Ubuntu · Pro 26.04 LTS Pro:26.04:LTS openexr 3.1.13-2ubuntu0.26.04.1~esm2

Vulnerabilities 20

  • Critical 9.1

    OpenEXR Heap Overflow in Scanline Deep Data Parsing

    Due to a failure in validating the number of scanline samples of a OpenEXR file containing deep scanline data, Academy Software Foundation OpenEX image parsing library version 3.2.1 and prior is susceptible to a heap-based buffer overflow vulnerability. This …

  • High 8.8

    OpenEXR is Vulnerable to Integer overflow in ImageChannel::resize leads to heap OOB write via OpenEXRUtil public API

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From versions 3.0.0 to before 3.2.9, 3.3.0 to before 3.3.11, and 3.4.0 to before 3.4.11, there is an integer overf…

  • High 8.8

    OpenEXR: Out-of-bounds read in `IDManifest::init()` during prefix expansion

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From versions 3.0.0 to before 3.2.9, 3.3.0 to before 3.3.11, and 3.4.0 to before 3.4.11, IDManifest::init() recons…

  • High 7.8

    Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

    Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Academy Software Foundation OpenEXR. User in…

  • High 7.8

    Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

    Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Academy Software Foundation OpenEXR. User in…

  • High 7.1

    OpenEXR: OpenEXRUtil FlatImageChannel row nonzero dataWindow heap OOB write

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. Versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13 allow a crafted EXR with a nonzero dataWindow.min to make Ty…

  • High 7.1

    OpenEXR: Heap out-of-bounds write in TiledRgbaInputFile via integer overflow on 32-bit (ILP32) builds

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13, a crafted tiled EXR can trigger a heap out-of-bounds wri…

  • High 7.1

    OpenEXR: Out-of-bounds read in DeepImageChannel::row() for non-zero dataWindow origin

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In OpenEXRUtil versions 3.3.0 through 3.3.12 and 3.4.0 through 3.4.12, the documented TypedDeepImageChannel<T>::row() API can retur…

  • High 7.1

    OpenEXR: Heap OOB read in SampleCountChannel row when using nonzero dataWindow

    OpenEXR is the reference implementation and specification for the EXR image file format, widely used in the motion picture industry. In versions through 3.2.10, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13, the OpenEXRUtil library returns an out-of-bounds p…

  • High 7.1

    OpenEXR: DWAA InputFile AC buffer overflow on ILP32 platforms

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. OpenEXR versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13 can return an out-of-bounds pointer from TypedDeepIm…

  • High 7.1

    OpenEXR: Heap out-of-bounds write in exrmultiview with subsampled channel union

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13, exrmultiview can write past a heap allocation when it co…

  • Medium 6.3

    OpenEXR: Shift exponent overflow in `readVariableLengthInteger()` (`ImfIDManifest.cpp`)

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From versions 3.0.0 to before 3.2.9, 3.3.0 to before 3.3.11, and 3.4.0 to before 3.4.11, readVariableLengthInteger…

  • Medium 6.2

    OpenEXR: OpenEXRUtil SampleCountChannel endEdit() can loop forever on UINT_MAX sample counts

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. Versions prior to 3.2.10, 3.3.12, and 3.4.13 contain an infinite-loop vulnerability in SampleCountChannel. The helper roundListSize…

  • Medium 6.1

    OpenEXR: OpenEXRUtil SampleCountChannel row setter heap has an out-of-bounds write vulnerability

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. Versions prior to 3.2.10, 3.3.12 and 3.4.13 contain a heap out-of-bounds write in Imf_4_0::SampleCountChannel::set(int r, unsigned …

  • Medium 5.5

    OpenEXR: Signed Integer Overflow Leading to Out-of-Bounds Memory Access in Deep Tile Decoding

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.1.0 through 3.2.10, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13, an int32_t multiplication in OpenEXRCore's unpack…

  • Medium 5.5

    OpenEXR: Out-of-bounds read in DeepTiledInputFile sample-count table decode on ILP32

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. OpenEXR versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13 are vulnerable on ILP32 builds to an out-of-bounds r…

  • Medium 5.5

    OpenEXR: Scratch buffer overflow decoding B44-compressed InputFile on ILP32

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. OpenEXR versions 3.1.0 through 3.2.10, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13 are vulnerable on ILP32 builds to an out-of-b…

  • Medium 5.5

    OpenEXR: Heap out-of-bounds read in OpenEXRCore RLE decoding on ILP32

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. OpenEXR versions 3.2.0 through 3.2.10, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13 are vulnerable on ILP32 builds to a heap out-…

  • Medium 5.5

    OpenEXR: Empty multiView viewFromChannelName file crash

    OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. OpenEXR versions before 3.2.11, 3.3.0 through 3.3.12, and 3.4.0 through 3.4.13 are vulnerable to crashing. This occurs when Imf::Ge…

  • Unscored —

    OpenEXR 3.1.x before 3.1.4 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask::execute (called from IlmThre…

References

  • report
    https://ubuntu.com/security/CVE-2021-45942
  • report
    https://ubuntu.com/security/CVE-2023-5841
  • report
    https://ubuntu.com/security/CVE-2025-12495
  • report
    https://ubuntu.com/security/CVE-2025-12839
  • report
    https://ubuntu.com/security/CVE-2026-41142
  • report
    https://ubuntu.com/security/CVE-2026-42216
  • report
    https://ubuntu.com/security/CVE-2026-42217
  • report
    https://ubuntu.com/security/CVE-2026-55059
  • report
    https://ubuntu.com/security/CVE-2026-55373
  • report
    https://ubuntu.com/security/CVE-2026-59183
  • report
    https://ubuntu.com/security/CVE-2026-59184
  • report
    https://ubuntu.com/security/CVE-2026-59186
  • report
    https://ubuntu.com/security/CVE-2026-59189
  • report
    https://ubuntu.com/security/CVE-2026-59981
  • report
    https://ubuntu.com/security/CVE-2026-59982
  • report
    https://ubuntu.com/security/CVE-2026-59983
  • report
    https://ubuntu.com/security/CVE-2026-59984
  • report
    https://ubuntu.com/security/CVE-2026-59985
  • report
    https://ubuntu.com/security/CVE-2026-61555
  • report
    https://ubuntu.com/security/CVE-2026-68515