CVE-2021-45942
OpenEXR 3.1.0 through 3.1.3 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask:...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2021-45942- 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 - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-45942- Updated
- 2026-11-02
EUVDEUVD-2021-32651 No score
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.
- Record
EUVD-2021-32651- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-68rw-m3hm-pqp8
5.5
OpenEXR 3.1.0 through 3.1.3 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask:...
OpenEXR 3.1.0 through 3.1.3 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).
- Record
GHSA-68rw-m3hm-pqp8- 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 - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-45942
5.5
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.
- Record
ALPINE-CVE-2021-45942- 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 - Updated
- 2026-11-03
OSV
5.5
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.
- Record
CVE-2021-45942- 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 - Updated
- 2026-11-02
Show 11 moreShow less
OSVDEBIAN-CVE-2021-45942
5.5
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.
- Record
DEBIAN-CVE-2021-45942- 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 - Updated
- 2026-11-02
OSVJLSEC-2026-132
5.5
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.
- Record
JLSEC-2026-132- 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 - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSVOESA-2022-1639
5.5
OpenEXR security update
OpenEXR is a high dynamic-range (HDR) image file format originally developed by Industrial Light and Magic for use in computer imaging applications.
Security Fix(es): 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.(CVE-2021-45942)
- Record
OESA-2022-1639- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-45942
5.5
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.
- Record
UBUNTU-CVE-2021-45942- 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 - Updated
- 2026-11-02
OSVCLSA-2026-1784118526 No score
openexr: Fix of 2 CVEs
- CVE-2021-3933: integer overflow in Imf::bytesPerDeepLineTable (ImfMisc.cpp)
- CVE-2021-45942: heap OOB write in CompositeDeepScanLine::setFrameBuffer via missing subsampling validation
- Record
CLSA-2026-1784118526- Updated
- 2026-11-02
OSVMGASA-2022-0020 No score
Updated openexr packages fix security vulnerability
OpenEXR 3.1.0 through 3.1.3 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). (CVE-2021-45942)
- Record
MGASA-2022-0020- Updated
- 2026-11-02
OSVopenSUSE-SU-2022:0062-1 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-45942: Fixed heap-based buffer overflow in Imf_3_1:LineCompositeTask:execute. (bsc#1194333)
- Record
openSUSE-SU-2022:0062-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11712-1 No score
libIex-3_1-30-3.1.3-2.1 on GA media
These are all security issues fixed in the libIex-3_1-30-3.1.3-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11712-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:0061-1 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-45942: Fixed heap-based buffer overflow in Imf_3_1:LineCompositeTask:execute. (bsc#1194333)
- Record
SUSE-SU-2022:0061-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:0062-1 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-45942: Fixed heap-based buffer overflow in Imf_3_1:LineCompositeTask:execute. (bsc#1194333)
- Record
SUSE-SU-2022:0062-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:0062-2 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-45942: Fixed heap-based buffer overflow in Imf_3_1:LineCompositeTask:execute. (bsc#1194333)
- Record
SUSE-SU-2022:0062-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openexrAlpine:v3.15 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.16 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.17 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.18 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.19 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.20 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.21 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.22 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.23 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
openexrAlpine:v3.24 |
3.1.0 up to 3.1.4-r0 | 3.1.4-r0 |
Show 28 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openexrTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 3.1.1-3.el9.tuxcare.els8 | 3.1.1-3.el9.tuxcare.els8 |
openexr-develTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 3.1.1-3.el9.tuxcare.els8 | 3.1.1-3.el9.tuxcare.els8 |
openexr-libsTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 3.1.1-3.el9.tuxcare.els8 | 3.1.1-3.el9.tuxcare.els8 |
openexrDebian:12 |
before 3.1.5-2 | 3.1.5-2 |
openexrDebian:13 |
before 3.1.5-2 | 3.1.5-2 |
openexrDebian:14 |
before 3.1.5-2 | 3.1.5-2 |
openexrDebian:10 From an advisory covering 22 CVEs |
before 2.2.1-4.1+deb10u2, plus listed versions 2.2.1-4.12.2.1-4.1+deb10u1 |
2.2.1-4.1+deb10u2 |
openexrDebian:11 From an advisory covering 7 CVEs |
before 2.5.4-2+deb11u1, plus listed versions 2.5.4-2 |
2.5.4-2+deb11u1 |
OpenEXR_jllJulia |
3.1.1+0 up to 3.2.4+0 | 3.2.4+0 |
openexrMageia:8 |
before 2.5.7-1.3.mga8 | 2.5.7-1.3.mga8 |
OpenEXRopenEuler:22.03-LTS |
before 3.1.5-1.oe2203 | 3.1.5-1.oe2203 |
openexrSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 2.1.0-6.45.1 | 2.1.0-6.45.1 |
openexrSUSE:Linux Enterprise Server 12 SP5 |
before 2.1.0-6.45.1 | 2.1.0-6.45.1 |
openexrSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 2.1.0-6.45.1 | 2.1.0-6.45.1 |
openexrSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 2.1.0-6.45.1 | 2.1.0-6.45.1 |
openexrSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 2.2.1-3.41.1 | 2.2.1-3.41.1 |
openexrSUSE:Linux Enterprise Real Time 15 SP2 |
before 2.2.1-3.41.1 | 2.2.1-3.41.1 |
openexrUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.2.0-1ubuntu32.2.0-7ubuntu12.2.0-9ubuntu12.2.0-10ubuntu22.2.0-10ubuntu2.1 Show 8 moreShow less2.2.0-10ubuntu2.22.2.0-10ubuntu2.32.2.0-10ubuntu2.42.2.0-10ubuntu2.62.2.0-10ubuntu2.6+esm12.2.0-10ubuntu2.6+esm22.2.0-10ubuntu2.6+esm32.2.0-10ubuntu2.6+esm4 |
None known |
openexrUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.2.0-11ubuntu12.2.0-11.1ubuntu12.2.0-11.1ubuntu1.12.2.0-11.1ubuntu1.22.2.0-11.1ubuntu1.3 Show 6 moreShow less2.2.0-11.1ubuntu1.42.2.0-11.1ubuntu1.62.2.0-11.1ubuntu1.72.2.0-11.1ubuntu1.82.2.0-11.1ubuntu1.92.2.0-11.1ubuntu1.9+esm1 |
None known |
openexrUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 2.2.1-4.1ubuntu12.3.0-62.3.0-6build12.3.0-6ubuntu0.12.3.0-6ubuntu0.2 Show 4 moreShow less2.3.0-6ubuntu0.32.3.0-6ubuntu0.52.3.0-6ubuntu0.5+esm12.3.0-6ubuntu0.5+esm2 |
None known |
openexrUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 2.5.4-22.5.7-12.5.7-1ubuntu0.1~esm12.5.7-1ubuntu0.1~esm2 |
None known |
openexrUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 3.1.5-5.13.1.5-5.1build13.1.5-5.1build23.1.5-5.1build33.1.5-5.1ubuntu0.1~esm1 |
None known |
openexrUbuntu:25.10 |
All versions, plus listed versions 3.1.13-2 |
None known |
openexrUbuntu:26.10 |
All versions, plus listed versions 3.1.13-2build13.4.6+ds-4ubuntu3 |
None known |
openexrUbuntu:Pro:26.04:LTS |
All versions, plus listed versions 3.1.13-23.1.13-2build13.1.13-2ubuntu0.26.04.1~esm1 |
None known |
cobblerSUSE:Package Hub 15 SP3 |
before 3.1.2-bp153.2.3.1 | 3.1.2-bp153.2.3.1 |
cobbleropenSUSE:Leap 15.3 |
before 3.1.2-bp153.2.3.1 | 3.1.2-bp153.2.3.1 |
openexropenSUSE:Leap 15.3 |
before 2.2.1-3.41.1 | 2.2.1-3.41.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-45942 is a medium vulnerability (CVSS 5.5) in Openexr, published December 31, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.82%, the 78th percentile. Fixed in openexr 3.1.4-r0.
References
github.com/google/oss-fuzz-vulns/blob/main/vulns/openexr/OSV-2021-1627.yaml
bugs.chromium.org/p/oss-fuzz/issues/detail?id=41416
github.com/AcademySoftwareFoundation/openexr/commit/db217f29dfb24f6b4b5100c24ac5e7490e1c57d0
github.com/AcademySoftwareFoundation/openexr/pull/1209
github.com/AcademySoftwareFoundation/openexr/commit/11cad77da87c4fa2aab7d58dd5339e254db7937e
github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.1.4
Show 28 moreShow less
github.com/AcademySoftwareFoundation/openexr/blob/v3.1.4/CHANGES.md
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJ5PW4WNXBKCRFGDZGAQOSVH2BKZKL4X
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJUK7WIQV5EKWTCZBRXFN6INHG6MLS5O
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6TEZDE2S2DB4BF4LZSSV4W3DNW7DSRHJ
security.gentoo.org/glsa/202210-31
debian.org/security/2022/dsa-5299
lists.debian.org/debian-lts-announce/2022/12/msg00022.html
nvd.nist.gov/vuln/detail/CVE-2021-45942
lists.fedoraproject.org/archives/list/[email protected]/message/6TEZDE2S2DB4BF4LZSSV4W3DNW7DSRHJ
lists.fedoraproject.org/archives/list/[email protected]/message/HJ5PW4WNXBKCRFGDZGAQOSVH2BKZKL4X
lists.fedoraproject.org/archives/list/[email protected]/message/XJUK7WIQV5EKWTCZBRXFN6INHG6MLS5O
github.com/advisories/GHSA-68rw-m3hm-pqp8
security.alpinelinux.org/vuln/CVE-2021-45942
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1784118526.html
nvd.nist.gov/vuln/detail/CVE-2021-3933
security-tracker.debian.org/tracker/CVE-2021-45942
advisories.mageia.org/MGASA-2022-0020.html
bugs.mageia.org/show_bug.cgi?id=29888
lists.suse.com/pipermail/sle-security-updates/2022-January/009997.html
lists.opensuse.org/archives/list/[email protected]/thread/QYJBECOXKL6LM6PP3ZL5EKF4GRPTFTD5
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1639
suse.com/support/update/announcement/2022/suse-su-20220061-1
bugzilla.suse.com/1194333
suse.com/security/cve/CVE-2021-45942
suse.com/support/update/announcement/2022/suse-su-20220062-1
suse.com/support/update/announcement/2022/suse-su-20220062-2
ubuntu.com/security/CVE-2021-45942
cve.org/CVERecord?id=CVE-2021-45942