Home / mailingsPDF  

[USN-9301-1] OpenEXR vulnerabilities

Posted on 01 December 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9301-1
December 01, 2026

openexr vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 26.04 LTS
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS

Summary:

Several security issues were fixed in OpenEXR.

Software Description:
- openexr: tools for the OpenEXR image format

Details:

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)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 26.04 LTS
libopenexr-3-1-30 3.1.13-2ubuntu0.26.04.1~esm2
Available with Ubuntu Pro
openexr 3.1.13-2ubuntu0.26.04.1~esm2
Available with Ubuntu Pro

Ubuntu 24.04 LTS
libopenexr-3-1-30 3.1.5-5.1ubuntu0.1~esm2
Available with Ubuntu Pro
openexr 3.1.5-5.1ubuntu0.1~esm2
Available with Ubuntu Pro

Ubuntu 22.04 LTS
libopenexr25 2.5.7-1ubuntu0.1~esm3
Available with Ubuntu Pro
openexr 2.5.7-1ubuntu0.1~esm3
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

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

--===============1072587418534066210==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP