CVE-2021-20298
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a...
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
- Record
CVE-2021-20298- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-787
- Updated
- 2026-11-02
CVE List No score
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
- Record
CVE-2021-20298- Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2021-7723 No score
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
- Record
EUVD-2021-7723- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c8fj-ggrc-c3hc
7.5
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a...
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
- Record
GHSA-c8fj-ggrc-c3hc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
7.5
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
- Record
CVE-2021-20298- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-20298
7.5
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
- Record
DEBIAN-CVE-2021-20298- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVOESA-2022-1884
7.5
OpenEXR security update
OpenEXR is a high dynamic-range (HDR) image file format originally developed by Industrial Light & Magic for use in computer imaging applications.
Security Fix(es):
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.(CVE-2021-20298)
- Record
OESA-2022-1884- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2022-1885
7.5
OpenEXR security update
OpenEXR is a high dynamic-range (HDR) image file format originally developed by Industrial Light & Magic for use in computer imaging applications.
Security Fix(es):
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.(CVE-2021-20298)
- Record
OESA-2022-1885- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-20298
7.5
A flaw was found in OpenEXR's B44Compressor. This flaw allows an attacker who can submit a crafted file to be processed by OpenEXR, to exhaust all memory accessible to the application. The highest threat from this vulnerability is to system availability.
- Record
UBUNTU-CVE-2021-20298- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1788167338 No score
Fix CVE(s): CVE-2021-20298, CVE-2021-20299, CVE-2021-20304
- SECURITY UPDATE: Memory exhaustion in the B44 compressor
- debian/patches/CVE-2021-20298.patch: size _tmpBuffer in elements rather than bytes in IlmImf/ImfB44Compressor.cpp.
- CVE-2021-20298
- SECURITY UPDATE: Null dereference on multipart files with no parts
- debian/patches/CVE-2021-20299.patch: require at least one header in IlmImf/ImfMultiPartInputFile.cpp.
- CVE-2021-20299
- SECURITY UPDATE: Undefined right shift in hufDecode
- debian/patches/CVE-2021-20304.patch: reject over-long Huffman code lengths in IlmImf/ImfHuf.cpp.
- CVE-2021-20304
- Record
CLSA-2026-1788167338- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1198-1 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-20298 [bsc#1188460]: Fixed Out-of-memory in B44Compressor
- CVE-2021-20299 [bsc#1188459]: Fixed Null-dereference READ in Imf_2_5:Header:operator
- CVE-2021-20300 [bsc#1188458]: Fixed Integer-overflow in Imf_2_5:hufUncompress
- CVE-2021-20302 [bsc#1188462]: Fixed Floating-point-exception in Imf_2_5:precalculateTileInfot
- CVE-2021-20303 [bsc#1188457]: Fixed Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer
- CVE-2021-20304 [bsc#1188461]: Fixed Undefined-shift in Imf_2_5:hufDecode
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2021:1198-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:2793-1 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-20298 [bsc#1188460]: Fixed Out-of-memory in B44Compressor
- CVE-2021-20299 [bsc#1188459]: Fixed Null-dereference READ in Imf_2_5:Header:operator
- CVE-2021-20300 [bsc#1188458]: Fixed Integer-overflow in Imf_2_5:hufUncompress
- CVE-2021-20302 [bsc#1188462]: Fixed Floating-point-exception in Imf_2_5:precalculateTileInfot
- CVE-2021-20303 [bsc#1188457]: Fixed Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer
- CVE-2021-20304 [bsc#1188461]: Fixed Undefined-shift in Imf_2_5:hufDecode
- Record
openSUSE-SU-2021:2793-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:14846-1 No score
Security update for OpenEXR
This update for OpenEXR fixes the following issues:
- CVE-2021-20298: Fixed out-of-memory in B44Compressor (bsc#1188460).
- CVE-2021-20300: Fixed integer-overflow in Imf_2_5:hufUncompress (bsc#1188458).
- CVE-2021-20303: Fixed heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffe (bsc#1188457).
- CVE-2021-20304: Fixed undefined-shift in Imf_2_5:hufDecode (bsc#1188461).
- CVE-2021-3941: Fixed divide-by-zero in Imf_3_1:RGBtoXYZ (bsc#1192556).
- Record
SUSE-SU-2021:14846-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2793-1 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-20298 [bsc#1188460]: Fixed Out-of-memory in B44Compressor
- CVE-2021-20299 [bsc#1188459]: Fixed Null-dereference READ in Imf_2_5:Header:operator
- CVE-2021-20300 [bsc#1188458]: Fixed Integer-overflow in Imf_2_5:hufUncompress
- CVE-2021-20302 [bsc#1188462]: Fixed Floating-point-exception in Imf_2_5:precalculateTileInfot
- CVE-2021-20303 [bsc#1188457]: Fixed Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer
- CVE-2021-20304 [bsc#1188461]: Fixed Undefined-shift in Imf_2_5:hufDecode
- Record
SUSE-SU-2021:2793-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2913-1 No score
Security update for openexr
This update for openexr fixes the following issues:
- CVE-2021-20298 [bsc#1188460]: Fixed Out-of-memory in B44Compressor
- CVE-2021-20299 [bsc#1188459]: Fixed Null-dereference READ in Imf_2_5:Header:operator
- CVE-2021-20300 [bsc#1188458]: Fixed Integer-overflow in Imf_2_5:hufUncompress
- CVE-2021-20302 [bsc#1188462]: Fixed Floating-point-exception in Imf_2_5:precalculateTileInfot
- CVE-2021-20303 [bsc#1188457]: Fixed Heap-buffer-overflow in Imf_2_5::copyIntoFrameBuffer
- CVE-2021-20304 [bsc#1188461]: Fixed Undefined-shift in Imf_2_5:hufDecode
- Record
SUSE-SU-2021:2913-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libopenexr-devTuxCare:Ubuntu:18.04 From an advisory covering 3 CVEs |
before 2.2.0-11.1ubuntu1.9+tuxcare.els2 | 2.2.0-11.1ubuntu1.9+tuxcare.els2 |
libopenexr22TuxCare:Ubuntu:18.04 From an advisory covering 3 CVEs |
before 2.2.0-11.1ubuntu1.9+tuxcare.els2 | 2.2.0-11.1ubuntu1.9+tuxcare.els2 |
openexrTuxCare:Ubuntu:18.04 From an advisory covering 3 CVEs |
before 2.2.0-11.1ubuntu1.9+tuxcare.els2 | 2.2.0-11.1ubuntu1.9+tuxcare.els2 |
openexr-docTuxCare:Ubuntu:18.04 From an advisory covering 3 CVEs |
before 2.2.0-11.1ubuntu1.9+tuxcare.els2 | 2.2.0-11.1ubuntu1.9+tuxcare.els2 |
openexrDebian:12 |
before 2.5.4-1 | 2.5.4-1 |
openexrDebian:13 |
before 2.5.4-1 | 2.5.4-1 |
openexrDebian:14 |
before 2.5.4-1 | 2.5.4-1 |
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 |
OpenEXRopenEuler:20.03-LTS-SP1 |
before 2.2.0-28.oe1 | 2.2.0-28.oe1 |
OpenEXRopenEuler:20.03-LTS-SP3 |
before 2.2.0-28.oe1 | 2.2.0-28.oe1 |
Show 37 moreShow less
| Package | Affected | Fixed |
|---|---|---|
OpenEXRSUSE:Linux Enterprise Point of Sale 11 SP3 From an advisory covering 5 CVEs |
before 1.6.1-83.17.30.1 | 1.6.1-83.17.30.1 |
OpenEXRSUSE:Linux Enterprise Server 11 SP4-LTSS From an advisory covering 5 CVEs |
before 1.6.1-83.17.30.1 | 1.6.1-83.17.30.1 |
openexrSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise High Performance Computing 15-ESPOS From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise High Performance Computing 15-LTSS From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise Server 15-LTSS From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise Server 15 SP1-BCL From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise Server for SAP Applications 15 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Manager Proxy 4.0 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Manager Retail Branch Server 4.0 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Manager Server 4.0 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:Enterprise Storage 6 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
openexrSUSE:HPE Helion OpenStack 8 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:OpenStack Cloud 8 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:OpenStack Cloud 9 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:OpenStack Cloud Crowbar 8 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:OpenStack Cloud Crowbar 9 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server 12 SP2-BCL From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server 12 SP3-LTSS From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server 12 SP3-BCL From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server 12 SP4-LTSS From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.1 |
openexrSUSE:Linux Enterprise Workstation Extension 12 SP5 From an advisory covering 7 CVEs |
before 2.1.0-6.37.1 | 2.1.0-6.37.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 |
openexropenSUSE:Leap 15.2 From an advisory covering 7 CVEs |
before 2.2.1-lp152.7.20.1 | 2.2.1-lp152.7.20.1 |
openexropenSUSE:Leap 15.3 From an advisory covering 7 CVEs |
before 2.2.1-3.35.1 | 2.2.1-3.35.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, products | 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-20298 is a high vulnerability (CVSS 7.5) in Academysoftwarefoundation Openexr, published August 20, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.57%, the 75th percentile. Fixed in openexr 2.5.4-1.
References
bugs.chromium.org/p/oss-fuzz/issues/detail?id=25913
github.com/AcademySoftwareFoundation/openexr/pull/843
github.com/AcademySoftwareFoundation/openexr/commit/85fd638ae0d5fa132434f4cbf32590261c1dba97
bugzilla.redhat.com/show_bug.cgi?id=1939156
access.redhat.com/security/cve/CVE-2021-20298
lists.debian.org/debian-lts-announce/2022/12/msg00022.html
Show 30 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-20298
github.com/advisories/GHSA-c8fj-ggrc-c3hc
errata.tuxcare.com/els_os/ubuntu18.04els/CLSA-2026-1788167338.html
nvd.nist.gov/vuln/detail/CVE-2021-20299
nvd.nist.gov/vuln/detail/CVE-2021-20304
security-tracker.debian.org/tracker/CVE-2021-20298
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1884
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1885
suse.com/support/update/announcement/2021/suse-su-202114846-1
bugzilla.suse.com/1188457
bugzilla.suse.com/1188458
bugzilla.suse.com/1188460
bugzilla.suse.com/1188461
bugzilla.suse.com/1192556
suse.com/security/cve/CVE-2021-20298
suse.com/security/cve/CVE-2021-20300
suse.com/security/cve/CVE-2021-20303
suse.com/security/cve/CVE-2021-20304
suse.com/security/cve/CVE-2021-3941
suse.com/support/update/announcement/2021/suse-su-20212793-1
bugzilla.suse.com/1188459
bugzilla.suse.com/1188462
suse.com/security/cve/CVE-2021-20299
suse.com/security/cve/CVE-2021-20302
suse.com/security/cve/CVE-2021-3476
suse.com/support/update/announcement/2021/suse-su-20212913-1
ubuntu.com/security/CVE-2021-20298
cve.org/CVERecord?id=CVE-2021-20298
lists.opensuse.org/archives/list/[email protected]/thread/UU6C6KHVOWCVMKES2H2PK5BJGOG2DVEJ
lists.opensuse.org/archives/list/[email protected]/thread/I6OVSOAQ3PQXBTM46SMNT6H3XP45CC7L