CVE-2021-45942 json
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::NullThreadPo…
published 2021-12-31 4 y ago modified 2026-07-25 3 mo ago also EUVD-2021-32651 , JLSEC-2026-132
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia OpenEXR_jll 3.2.4+0
- openexr openexr 3.1.4
- openexr Debian 14, Debian 13, Debian 12 3.1.5-2
debian advisories DEBIAN-CVE-2021-45942
- openexr SLE Real Time 15 SP2, SLE Module for Desktop Applications 15 SP3 2.2.1-3.41.1
- openexr SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 2.1.0-6.45.1
suse advisories SUSE-SU-2022:0062-2SUSE-SU-2022:0062-1SUSE-SU-2022:0061-1
- openexr openSUSE Leap 15.3 2.2.1-3.41.1
- cobbler Package Hub 15 SP3, openSUSE Leap 15.3 3.1.2-bp153.2.3.1
opensuse advisories openSUSE-SU-2022:0062-1
- openexr Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 3.1.4-r0
alpine advisories ALPINE-CVE-2021-45942
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/AcademySoftwareFoundation/openexr@db217f2 commit
- github.com/AcademySoftwareFoundation/openexr@11cad77 commit
- github.com/AcademySoftwareFoundation/openexr#1209 pull request
- github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.1.4 release
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=41416 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-45942 updated cvss 5.5
OpenEXR: heap-based buffer overflow in Imf_3_1:LineCompositeTask:execute
-
Red Hat Enterprise Linux 8 OpenEXR, OpenEXR-libs Red Hat Enterprise Linux 9 openexr, openexr-libsaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 OpenEXR, OpenEXR-libs Red Hat Enterprise Linux 7 OpenEXR, OpenEXR-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/AcademySoftwareFoundation/openexr/pull/1209 referenced PoC, tagged "exploit" by a source, unverified
- bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41416 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | OpenEXR_jll | >=3.1.1+0, <3.2.4+0 |
3.2.4+0 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/AcademySoftwareFoundation/openexr/commit/db217f29dfb24f6b4b5100c24ac5e7490e1c57d0
patch, third-party-advisory, web
-
github.com
/AcademySoftwareFoundation/openexr/pull/1209
exploit, patch, third-party-advisory, web
-
github.com
/AcademySoftwareFoundation/openexr/commit/11cad77da87c4fa2aab7d58dd5339e254db7937e
patch, third-party-advisory, web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=41416
exploit, issue-tracking, mailing-list, patch, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/HJ5PW4WNXBKCRFGDZGAQOSVH2BKZKL4X/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/XJUK7WIQV5EKWTCZBRXFN6INHG6MLS5O/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6TEZDE2S2DB4BF4LZSSV4W3DNW7DSRHJ/
vendor-advisory, web
-
security.gentoo.org
/glsa/202210-31
vendor-advisory, third-party-advisory, web
-
debian.org
/security/2022/dsa-5299
vendor-advisory, third-party-advisory, web
-
github.com
/google/oss-fuzz-vulns/blob/main/vulns/openexr/OSV-2021-1627.yaml
third-party-advisory, web
-
github.com
/AcademySoftwareFoundation/openexr/releases/tag/v3.1.4
release-notes, third-party-advisory, web
-
github.com
/AcademySoftwareFoundation/openexr/blob/v3.1.4/CHANGES.md#version-314-january-26-2022
release-notes, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2022/12/msg00022.html
mailing-list, third-party-advisory, web
Sources
- CVE List CVE-2021-45942
- NVD CVE-2021-45942
- OSV JLSEC-2026-132
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.