USN-9301-1: OpenEXR vulnerabilities

Published Dec 1, 2026
·
Updated

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)

Affected Software

12 affected componentsFixes available
All of the following
ubuntu/libopenexr-3-1-30<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/openexr<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libopenexr-3-1-30<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/openexr<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libopenexr25<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/openexr<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libopenexr-3-1-30 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/openexr to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade ubuntu/libopenexr25 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which Ubuntu releases are affected by the vulnerabilities described?

CVE-2021-45942 affects Ubuntu 22.04 LTS only. CVE-2023-5841 affects Ubuntu 24.04 LTS only, while CVE-2025-12495 affects Ubuntu 24.04 LTS and Ubuntu 26.04 LTS.

2

What kind of attacker-controlled input is required for exploitation?

An attacker would need to cause OpenEXR to process a specially crafted image file. The affected inputs include deep scan line images with subsampled channels, deep scan line files with invalid sample counts, and certain uncompressed tiled image files.

3

What is the practical impact if a vulnerable OpenEXR installation processes a malicious file?

The described flaws can cause a heap-based buffer overflow. This may allow a denial of service through a crash or potentially arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203