cve.bz

CVE-2023-5841 openexr openexr: Out-of-bounds Write

9.1 criticalExploit referenceEPSS 1.2%

Critical (9.1) in openexr openexr. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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 issue was resolved as of versions v3.2.2 and v3.1.12 of the affected library.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-05-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-5841 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5841?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5841?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5841 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Academy Software Foundation OpenEXRthrough 3.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12openexrno fix listedDEBIAN-CVE-2023-5841
Debian13, 14openexr3.1.13-1DEBIAN-CVE-2023-5841
UbuntuPro:24.04:LTSopenexrno fix listedUBUNTU-CVE-2023-5841
Red Hatenterprise_linux:9::appstreamopenexr, openexr-libs, openexr-debuginfo and 2 more0:3.1.1-2.el9_4.1RHSA-2024:8800
Red Hatenterprise_linux:9::appstreamopenexr, openexr-libs, openexr-debuginfo and 2 more0:3.1.1-2.el9_5.1RHSA-2024:9548
Red Hatenterprise_linux:9::crbopenexr-devel, openexr-debuginfo, openexr-debugsource and 1 more0:3.1.1-2.el9_4.1RHSA-2024:8800
Red Hatenterprise_linux:9::crbopenexr-devel, openexr-debuginfo, openexr-debugsource and 1 more0:3.1.1-2.el9_5.1RHSA-2024:9548
Red Hatrhel_e4s:9.0::appstreamopenexr, openexr-libs, openexr-debuginfo and 2 more0:3.1.1-2.el9_0.1RHSA-2024:8802
Red Hatrhel_eus:9.2::appstreamopenexr, openexr-libs, openexr-debuginfo and 2 more0:3.1.1-2.el9_2.1RHSA-2024:8801
Red Hatrhel_eus:9.2::crbopenexr-devel, openexr-debuginfo, openexr-debugsource and 1 more0:3.1.1-2.el9_2.1RHSA-2024:8801
AlmaLinux9openexr, openexr-libs, openexr-devel3.1.1-2.el9_4.1ALSA-2024:8800
AlmaLinux9openexr, openexr-libs, openexr-devel3.1.1-2.el9_5.1ALSA-2024:9548
Rocky Linux9openexr0:3.1.1-2.el9_4.1RLSA-2024:8800 RLSA-2024:9548
Alpinev3.19, v3.20, v3.21 and 3 moreopenexr3.1.12-r0ALPINE-CVE-2023-5841
Azure Linux3OpenEXRno fix listedAZL-62324

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The heap-based buffer overflow vulnerability identified in the Academy Software Foundation's OpenEXR image parsing library represents an important security concern due to its potential for severe consequences and wide-reaching impact. By exploiting this vulnerability, attackers can execute arbitrary code or perform unauthorized read/write operations on affected systems. This ability to manipulate system memory poses a significant risk to data integrity, confidentiality, and system stability. Moreover, the vulnerability's presence in a widely-used image parsing library amplifies its severity. The ability to execute such attacks without user interaction, known as a 0-click attack surface, further amplifies the risk.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9openexr-0:3.1.1-2.el9_4.1Fixed 2024-11-04RHSA-2024:8800
Red Hat Enterprise Linux 9openexr-0:3.1.1-2.el9_5.1Fixed 2024-11-13RHSA-2024:9548
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsopenexr-0:3.1.1-2.el9_0.1Fixed 2024-11-04RHSA-2024:8802
Red Hat Enterprise Linux 9.2 Extended Update Supportopenexr-0:3.1.1-2.el9_2.1Fixed 2024-11-04RHSA-2024:8801
Red Hat Enterprise Linux 6OpenEXROut of support scope
Red Hat Enterprise Linux 7OpenEXRNot affected
Red Hat Enterprise Linux 8gimp:flatpak/OpenEXRWill not fix
Red Hat Enterprise Linux 8OpenEXRNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5841.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON