CVE-2021-45942
MEDIUM 5.5 ALL-YEARSOpenEXR 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.
Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.
Exploitation likelihood
1.8%chance of exploitation in 30 days · 79th percentile
Impact if exploited
5.5CVSS 3.1 · MEDIUM · NVD
- ConfidentialityNone
- IntegrityNone
- AvailabilityHigh
What an attacker needs
- ⚠Access: Requires local access to the host
- ✓Privileges: No account or privileges required
- ⚠User interaction: A user must take an action (click / open a file)
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-787: Out-of-bounds write
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References and research data (JSON) · Change history
Vendor product assessments
OpenEXR-devel as a component of Red Hat Enterprise Linux 8 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/OpenEXR-devel
- no fix planned: Will not fix
OpenEXR-libs as a component of Red Hat Enterprise Linux 8 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/OpenEXR-libs
- no fix planned: Will not fix
OpenEXR.src as a component of Red Hat Enterprise Linux 8 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/OpenEXR?arch=src
- no fix planned: Will not fix
openexr as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/openexr
- no fix planned: Will not fix
openexr-devel as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/openexr-devel
- no fix planned: Will not fix
openexr-libs as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/openexr-libs
- no fix planned: Will not fix
openexr.src as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/openexr?arch=src
- no fix planned: Will not fix
OpenEXR as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/OpenEXR?arch=src
Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00OpenEXR-devel as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/OpenEXR-devel
Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00OpenEXR-libs as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/OpenEXR-libs
Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00OpenEXR as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/OpenEXR?arch=src
Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00OpenEXR-devel as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/OpenEXR-devel
Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00OpenEXR-libs as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/OpenEXR-libs
Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00OpenEXR.src as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/OpenEXR?arch=src
Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00
Unverified PoC candidates
Publisher-linked references and catalogue matches for further research. Candidate links do not establish public PoC availability. Their availability and exploit execution have not been verified by Vulnpedia.
1 candidate
- https://github.com/AcademySoftwareFoundation/openexr/pull/1209
Primary CVE reference tagged exploit · CVE-2021-45942 · Unverified candidate
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Openexr | Openexr | ≥ 3.1.0 and < 3.1.4 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
All CVSS metrics
- MEDIUM 5.5 v3.1 · NVD Primary
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - MEDIUM 4.3 v2.0 · NVD Primary
AV:N/AC:M/Au:N/C:N/I:N/A:P
References
Exploit-tagged references (not proof of a PoC)
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41416 CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://github.com/AcademySoftwareFoundation/openexr/pull/1209 CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563
Patches & mitigations
- https://github.com/AcademySoftwareFoundation/openexr/commit/11cad77da87c4fa2aab7d58dd5339e254db7937e CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://github.com/AcademySoftwareFoundation/openexr/commit/db217f29dfb24f6b4b5100c24ac5e7490e1c57d0 CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563
Advisories
- https://github.com/AcademySoftwareFoundation/openexr/blob/v3.1.4/CHANGES.md#version-314-january-26-2022 CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.1.4 CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://github.com/google/oss-fuzz-vulns/blob/main/vulns/openexr/OSV-2021-1627.yaml CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6TEZDE2S2DB4BF4LZSSV4W3DNW7DSRHJ/ CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJ5PW4WNXBKCRFGDZGAQOSVH2BKZKL4X/ CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJUK7WIQV5EKWTCZBRXFN6INHG6MLS5O/ CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://security.gentoo.org/glsa/202210-31 CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://www.debian.org/security/2022/dsa-5299 CVE record · CVE · Updated 2024-08-04T04:54:31.096Z
CVE record · mitre · Updated 2022-12-12T00:00:00.000Z
NVD · CVE-2021-45942 · Updated 2026-06-17T04:14:17.563 - https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-45942.json Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-32651 EUVD · EUVD-2021-32651
Technical & other
- https://access.redhat.com/security/cve/CVE-2021-45942 Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2047745 Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-45942 Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00
- https://www.cve.org/CVERecord?id=CVE-2021-45942 Red Hat · CVE-2021-45942 · Updated 2025-11-21T15:32:55+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS