CVE-2021-20296

Source
https://cve.org/CVERecord?id=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:13.310Z
Modified
2026-04-16T00:02:31.544215204Z
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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpe": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "10.0"
                }
            ]
        },
        {
            "cpe": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "9.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/AcademySoftwareFoundation/openexr

Affected ranges

Type
GIT
Repo
https://github.com/AcademySoftwareFoundation/openexr
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
    "source": "CPE_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.4.3"
        },
        {
            "introduced": "2.5.0"
        },
        {
            "fixed": "2.5.4"
        }
    ]
}

Affected versions

Other
OPENEXR_1_0_4
v1.*
v1.7.1
v2.*
v2.0.0
v2.0.0.GM
v2.0.1
v2.1.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

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-20296.json"
vanir_signatures_modified
"2026-04-12T01:00:38Z"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_type": "Function",
        "digest": {
            "function_hash": "147499493693564905582259429661292444797",
            "length": 1690.0
        },
        "target": {
            "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp",
            "function": "ScanLineInputFile::initialize"
        },
        "source": "https://github.com/AcademySoftwareFoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
        "signature_version": "v1",
        "id": "CVE-2021-20296-5d703456"
    },
    {
        "deprecated": false,
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "183799983013183831380237481661086301550",
                "111519733374137260985206676436366582935",
                "338562742485568351177658719788975857619",
                "84570287594119879542064273017314287589",
                "152453817114836365619507449973532304004",
                "152126518450649847430180110668365421093",
                "334371091860315902789981231789629231501"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp"
        },
        "source": "https://github.com/AcademySoftwareFoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
        "signature_version": "v1",
        "id": "CVE-2021-20296-e1f8daad"
    }
]