Home / mailingsPDF  

[USN-9390-1] OpenEXR vulnerabilities

Posted on 03 December 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9390-1
December 02, 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
- Ubuntu 20.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 memory allocation when
decompressing certain B44-compressed image files. An attacker could
possibly use this issue to cause OpenEXR to consume excessive memory,
resulting in a denial of service. This issue only affected
Ubuntu 20.04 LTS. (CVE-2021-20298)

It was discovered that OpenEXR incorrectly handled multi-part image files
that contained no parts, leading to a NULL pointer dereference. An attacker
could possibly use this issue to cause OpenEXR to crash, resulting in a
denial of service. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-20299)

It was discovered that OpenEXR had an integer overflow when decompressing
certain Huffman-encoded image data. An attacker could possibly use this
issue to cause OpenEXR to crash, resulting in a denial of service. This
issue only affected Ubuntu 20.04 LTS. (CVE-2021-20300)

It was discovered that OpenEXR incorrectly handled certain single-part
non-image tiled files, leading to a floating point exception. An attacker
could possibly use this issue to cause OpenEXR to crash, resulting in a
denial of service. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-20302)

It was discovered that OpenEXR had an integer overflow when calculating the
data window of certain tiles, 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. This issue only affected
Ubuntu 20.04 LTS. (CVE-2021-20303)

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 20.04 LTS. (CVE-2021-45942)

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. This issue only affected
Ubuntu 20.04 LTS. (CVE-2026-41142)

It was discovered that OpenEXR had an integer overflow and used an
uninitialized pointer when resizing images, leading to an invalid memory
free. An attacker could possibly use this issue to cause OpenEXR to crash,
resulting in a denial of service, or execute arbitrary code.
(CVE-2026-54920)

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. This
issue only affected Ubuntu 20.04 LTS. (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. This issue
only affected Ubuntu 20.04 LTS. (CVE-2026-55373)

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. This issue
only affected Ubuntu 20.04 LTS. (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. This issue only affected Ubuntu 20.04 LTS. (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.
These issues only affected Ubuntu 20.04 LTS. (CVE-2026-59189,
CVE-2026-59981, CVE-2026-59982)

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. This issue only affected Ubuntu 20.04 LTS.
(CVE-2026-61555)

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~esm3
Available with Ubuntu Pro
openexr 3.1.13-2ubuntu0.26.04.1~esm3
Available with Ubuntu Pro

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

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

Ubuntu 20.04 LTS
libopenexr24 2.3.0-6ubuntu0.5+esm3
Available with Ubuntu Pro
openexr 2.3.0-6ubuntu0.5+esm3
Available with Ubuntu Pro

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

References:
https://ubuntu.com/security/notices/USN-9390-1
CVE-2021-20298, CVE-2021-20299, CVE-2021-20300, CVE-2021-20302,
CVE-2021-20303, CVE-2021-45942, CVE-2026-41142, CVE-2026-54920,
CVE-2026-55059, CVE-2026-55373, CVE-2026-59184, CVE-2026-59186,
CVE-2026-59189, CVE-2026-59981, CVE-2026-59982, CVE-2026-61555

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

 

TOP