Every CVE Search/ Get API key

CVE-2021-3474

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed...

5.3 MediumFix available

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application 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
Low

Exploit likelihood

1.85%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
CVE-2021-3474
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
CVE-2021-3474
Weakness
CWE-190
Updated
2026-11-02
EUVDEUVD-2021-26796 No score

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
EUVD-2021-26796
Updated
2026-11-03
GitHub AdvisoriesGHSA-7qrq-27q3-6362 5.3

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed...

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
GHSA-7qrq-27q3-6362
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-190
Updated
2026-11-02
OSVALPINE-CVE-2021-3474 5.3

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
ALPINE-CVE-2021-3474
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-03
OSVAZL-44640 5.3

CVE-2021-3474 affecting package OpenEXR 2.3.0-6

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
AZL-44640
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-05
Show 8 moreShow less
OSV 5.3

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
CVE-2021-3474
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVDEBIAN-CVE-2021-3474 5.3

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
DEBIAN-CVE-2021-3474
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2021-1167 5.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):

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.(CVE-2021-3474)

There's a flaw in OpenEXR's deep tile sample size calculations in versions before 3.0.0-beta. An attacker who is able to submit a crafted file to be processed by OpenEXR could trigger an integer overflow, subsequently leading to an out-of-bounds read. The greatest risk of this flaw is to application availability.(CVE-2021-3477)

There is a flaw in OpenEXR in versions before 3.0.0-beta. An attacker who can submit a crafted file to be processed by OpenEXR could cause an integer overflow, potentially leading to problems with application availability.(CVE-2021-3475)

A flaw was found in OpenEXR in versions before 3.0.0-beta. A crafted input file supplied by an attacker, that is processed by the Dwa decompression functionality of OpenEXR's IlmImf library, could cause a NULL pointer dereference. The highest threat from this vulnerability is to system availability.(CVE-2021-20296)

A flaw was found in OpenEXR's B44 uncompression functionality in versions before 3.0.0-beta. An attacker who is able to submit a crafted file to OpenEXR could trigger shift overflows, potentially affecting application availability.(CVE-2021-3476)

There's a flaw in OpenEXR's Scanline API functionality in versions before 3.0.0-beta. An attacker who is able to submit a crafted file to be processed by OpenEXR could trigger excessive consumption of memory, resulting in an impact to system availability.(CVE-2021-3479)

Record
OESA-2021-1167
CVSS 3.1
5.5 MediumCVSS: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-3474 5.3

There's a flaw in OpenEXR in versions before 3.0.0-beta. A crafted input file that is processed by OpenEXR could cause a shift overflow in the FastHufDecoder, potentially leading to problems with application availability.

Record
UBUNTU-CVE-2021-3474
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVMGASA-2021-0326 No score

Updated openexr packages fix security vulnerabilities

Updated openexr packages fix security vulnerabilities:

It was discovered that OpenEXR incorrectly handled certain malformed EXR image files. If a user were tricked into opening a crafted EXR image file, a remote attacker could cause a denial of service, or possibly execute arbitrary code (CVE-2021-3474, CVE-2021-3475, CVE-2021-3476, CVE-2021-3477, CVE-2021-3478, CVE-2021-3479, CVE-2021-3598, CVE-2021-3605, CVE-2021-20296, CVE-2021-23169, CVE-2021-23215, CVE-2021-26260).

Record
MGASA-2021-0326
Updated
2026-11-02
OSVopenSUSE-SU-2021:0536-1 No score

Security update for openexr

This update for openexr fixes the following issues:

  • CVE-2021-3474: Undefined-shift in Imf_2_5::FastHufDecoder::FastHufDecoder (bsc#1184174)
  • CVE-2021-3475: Integer-overflow in Imf_2_5::calculateNumTiles (bsc#1184173)
  • CVE-2021-3476: Undefined-shift in Imf_2_5::unpack14 (bsc#1184172)

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2021:0536-1
Updated
2026-11-02
OSVSUSE-SU-2021:1097-1 No score

Security update for openexr

This update for openexr fixes the following issues:

  • CVE-2021-3474: Undefined-shift in Imf_2_5::FastHufDecoder::FastHufDecoder (bsc#1184174)
  • CVE-2021-3475: Integer-overflow in Imf_2_5::calculateNumTiles (bsc#1184173)
  • CVE-2021-3476: Undefined-shift in Imf_2_5::unpack14 (bsc#1184172)
Record
SUSE-SU-2021:1097-1
Updated
2026-11-02
OSVUSN-4900-1 No score

openexr vulnerabilities

It was discovered that OpenEXR incorrectly handled certain malformed EXR image files. If a user were tricked into opening a crafted EXR image file, a remote attacker could cause a denial of service, or possibly execute arbitrary code.

Record
USN-4900-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openexr
Alpine:v3.15
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.16
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.17
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.18
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.19
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.20
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.21
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.22
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.23
2.5.0 up to 2.5.4-r0
2.5.4-r0
openexr
Alpine:v3.24
2.5.0 up to 2.5.4-r0
2.5.4-r0
Show 17 moreShow less
Affected packages
PackageAffectedFixed
OpenEXR
Azure Linux:3
through 2.3.0-6 None known
openexr
Debian:12
before 2.5.4-1
2.5.4-1
openexr
Debian:13
before 2.5.4-1
2.5.4-1
openexr
Debian:14
before 2.5.4-1
2.5.4-1
openexr
Debian:9
From an advisory covering 11 CVEs
before 2.2.0-11+deb9u3, plus listed versions
2.2.0-112.2.0-11+deb9u12.2.0-11+deb9u2
2.2.0-11+deb9u3
openexr
Debian: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
openexr
Mageia:7
From an advisory covering 12 CVEs
before 2.3.0-2.4.mga7
2.3.0-2.4.mga7
openexr
Mageia:8
From an advisory covering 12 CVEs
before 2.5.7-1.mga8
2.5.7-1.mga8
OpenEXR
openEuler:20.03-LTS-SP1
From an advisory covering 6 CVEs
before 2.2.0-19.oe1
2.2.0-19.oe1
openexr
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2
From an advisory covering 3 CVEs
before 2.2.1-3.24.1
2.2.1-3.24.1
openexr
Ubuntu:16.04:LTS
before 2.2.0-10ubuntu2.6, plus listed versions
2.2.0-1ubuntu32.2.0-7ubuntu12.2.0-9ubuntu12.2.0-10ubuntu22.2.0-10ubuntu2.12.2.0-10ubuntu2.22.2.0-10ubuntu2.32.2.0-10ubuntu2.4
2.2.0-10ubuntu2.6
openexr
Ubuntu:18.04:LTS
before 2.2.0-11.1ubuntu1.6, 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.32.2.0-11.1ubuntu1.4
2.2.0-11.1ubuntu1.6
openexr
Ubuntu:20.04:LTS
before 2.3.0-6ubuntu0.5, plus listed versions
2.2.1-4.1ubuntu12.3.0-62.3.0-6build12.3.0-6ubuntu0.12.3.0-6ubuntu0.22.3.0-6ubuntu0.3
2.3.0-6ubuntu0.5
openexr
Ubuntu:16.04:LTS
From an advisory covering 6 CVEs
before 2.2.0-10ubuntu2.6, plus listed versions
2.2.0-1ubuntu32.2.0-7ubuntu12.2.0-9ubuntu12.2.0-10ubuntu22.2.0-10ubuntu2.12.2.0-10ubuntu2.22.2.0-10ubuntu2.32.2.0-10ubuntu2.4
2.2.0-10ubuntu2.6
openexr
Ubuntu:18.04:LTS
From an advisory covering 6 CVEs
before 2.2.0-11.1ubuntu1.6, 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.32.2.0-11.1ubuntu1.4
2.2.0-11.1ubuntu1.6
openexr
Ubuntu:20.04:LTS
From an advisory covering 6 CVEs
before 2.3.0-6ubuntu0.5, plus listed versions
2.2.1-4.1ubuntu12.3.0-62.3.0-6build12.3.0-6ubuntu0.12.3.0-6ubuntu0.22.3.0-6ubuntu0.3
2.3.0-6ubuntu0.5
openexr
openSUSE:Leap 15.2
From an advisory covering 3 CVEs
before 2.2.1-lp152.7.11.1
2.2.1-lp152.7.11.1

History

History
RecordedChangedSources
affected
factsOSV
affected, aliases, referencesOSV
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3474 is a medium vulnerability (CVSS 5.3) in Academysoftwarefoundation Openexr, published March 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.85%, the 79th percentile. Fixed in openexr 2.5.4-r0.

References

Show 30 moreShow less
MoveEnter Open