CVE-2021-3477

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3477
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3477.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3477
Downstream
Related
Published
2021-03-31T14:15:21Z
Modified
2025-10-18T09:18:44.094892Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/academysoftwarefoundation/openexr

Affected ranges

Type
GIT
Repo
https://github.com/academysoftwarefoundation/openexr
Events

Affected versions

v2.*

v2.5.0
v2.5.1
v2.5.2
v2.5.3

Git / github.com/academysoftwarefoundation/openexr

Affected ranges

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

Database specific

vanir_signatures

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