cve.bz

CVE-2021-45942 Out-of-bounds Write

5.5 mediumExploit referenceEPSS 1.8%Fix available

Medium (5.5). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
OpenEXR 3.1.x before 3.1.4 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask::execute (called from IlmThread_3_1::NullThreadPoolProvider::addTask and IlmThread_3_1::ThreadPool::addGlobalTask). NOTE: db217f2 may be inapplicable.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
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-2021-45942 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-45942?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-45942?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-2021-45942 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 NVD's CPE matches.

ProductAffected
openexr:openexrfrom 3.1.0 before 3.1.4
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10openexr2.2.1-4.1+deb10u2DLA-3236-1
Debian11openexr2.5.4-2+deb11u1DSA-5299-1
Debian12, 13, 14openexr3.1.5-2DEBIAN-CVE-2021-45942
Ubuntu25.10, 26.10, Pro:16.04:LTS and 4 moreopenexrno fix listedUBUNTU-CVE-2021-45942
SUSELinux Enterprise Module for Desktop Applications 15 SP3openexr2.2.1-3.41.1SUSE-SU-2022:0062-1
SUSELinux Enterprise Real Time 15 SP2openexr2.2.1-3.41.1SUSE-SU-2022:0062-2
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 and 1 moreopenexr2.1.0-6.45.1SUSE-SU-2022:0061-1
SUSEPackage Hub 15 SP3cobbler3.1.2-bp153.2.3.1openSUSE-SU-2022:0062-1
openSUSELeap 15.3cobbler3.1.2-bp153.2.3.1openSUSE-SU-2022:0062-1
openSUSELeap 15.3openexr2.2.1-3.41.1openSUSE-SU-2022:0062-1
Alpinev3.15, v3.16, v3.17 and 7 moreopenexr3.1.4-r0ALPINE-CVE-2021-45942

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability does not affect Red Hat Enterprise Linux 6 and 7 because they are shipped with OpenEXR v1.6.1 and v1.7.1 respectively, and the vulnerable code is not present in the code-base.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6OpenEXRNot affected
Red Hat Enterprise Linux 7OpenEXRNot affected
Red Hat Enterprise Linux 8OpenEXRWill not fix
Red Hat Enterprise Linux 9openexrWill not fix

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-2021-45942.

References

Check your stackJSON