CVE-2021-20296

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-20296
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-20296.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-20296
Downstream
Related
Published
2021-04-01T14:15:13Z
Modified
2025-09-05T06:04:24.699125Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / openexr

Package

Name
openexr
Purl
pkg:deb/debian/openexr?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / openexr

Package

Name
openexr
Purl
pkg:deb/debian/openexr?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / openexr

Package

Name
openexr
Purl
pkg:deb/debian/openexr?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / openexr

Package

Name
openexr
Purl
pkg:deb/debian/openexr?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/academysoftwarefoundation/openexr

Affected ranges

Type
GIT
Repo
https://github.com/academysoftwarefoundation/openexr
Events
Type
GIT
Repo
https://github.com/openexr/openexr
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

OPENEXR_1_0_4

v1.*

v1.7.1

v2.*

v2.0.0
v2.0.0.GM
v2.0.0.beta.1
v2.0.0.beta.2
v2.0.1
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.4.0-beta.1
v2.4.1
v2.4.2
v2.5.0
v2.5.1
v2.5.2
v2.5.3

Database specific

{
    "vanir_signatures": [
        {
            "source": "https://github.com/openexr/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
            "target": {
                "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp",
                "function": "ScanLineInputFile::initialize"
            },
            "digest": {
                "length": 1690.0,
                "function_hash": "147499493693564905582259429661292444797"
            },
            "id": "CVE-2021-20296-3b14fd36",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Function"
        },
        {
            "source": "https://github.com/openexr/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
            "target": {
                "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "183799983013183831380237481661086301550",
                    "111519733374137260985206676436366582935",
                    "338562742485568351177658719788975857619",
                    "84570287594119879542064273017314287589",
                    "152453817114836365619507449973532304004",
                    "152126518450649847430180110668365421093",
                    "334371091860315902789981231789629231501"
                ]
            },
            "id": "CVE-2021-20296-bea1d206",
            "signature_version": "v1",
            "deprecated": false,
            "signature_type": "Line"
        }
    ]
}