Skip to content
Fencer Vulns
medium 5.5

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

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-libs
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 6 OpenEXR, OpenEXR-libs Red Hat Enterprise Linux 7 OpenEXR, OpenEXR-libs
    not 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

References

Sources

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.