CVE-2021-3478

Source
https://cve.org/CVERecord?id=CVE-2021-3478
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3478.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3478
Downstream
Published
2021-03-31T14:15:21Z
Modified
2026-08-27T08:40:32Z
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 scanline input file functionality in versions before 3.0.0-beta. An attacker able to submit a crafted file to be processed by OpenEXR could consume excessive system memory. The greatest impact of this flaw is to system availability.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                },
                {
                    "introduced":  "10.0"
                },
                {
                    "last_affected":  "10.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
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
Show details
{
    "cpe":  "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.4.3"
        },
        {
            "introduced":  "2.5.0"
        },
        {
            "fixed":  "2.5.4"
        }
    ],
    "source":  "CPE_RANGE"
}

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/cve-osv-conversion/osv-output/CVE-2021-3478.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "147499493693564905582259429661292444797",
            "length":  1690
        },
        "id":  "CVE-2021-3478-5d703456",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/AcademySoftwareFoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
        "target":  {
            "file":  "OpenEXR/IlmImf/ImfScanLineInputFile.cpp",
            "function":  "ScanLineInputFile::initialize"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "183799983013183831380237481661086301550",
                "111519733374137260985206676436366582935",
                "338562742485568351177658719788975857619",
                "84570287594119879542064273017314287589",
                "152453817114836365619507449973532304004",
                "152126518450649847430180110668365421093",
                "334371091860315902789981231789629231501"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-3478-e1f8daad",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/AcademySoftwareFoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
        "target":  {
            "file":  "OpenEXR/IlmImf/ImfScanLineInputFile.cpp"
        }
    }
]
vanir_signatures_modified
"2026-08-27T08:40:32Z"
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
Show details
{
    "cpe":  "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.4.3"
        },
        {
            "introduced":  "2.5.0"
        },
        {
            "fixed":  "2.5.4"
        }
    ],
    "source":  "CPE_RANGE"
}

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/cve-osv-conversion/osv-output/CVE-2021-3478.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "183799983013183831380237481661086301550",
                "111519733374137260985206676436366582935",
                "338562742485568351177658719788975857619",
                "84570287594119879542064273017314287589",
                "152453817114836365619507449973532304004",
                "152126518450649847430180110668365421093",
                "334371091860315902789981231789629231501"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-3478-408350e5",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/academysoftwarefoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
        "target":  {
            "file":  "OpenEXR/IlmImf/ImfScanLineInputFile.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "147499493693564905582259429661292444797",
            "length":  1690
        },
        "id":  "CVE-2021-3478-e59eff32",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/academysoftwarefoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
        "target":  {
            "file":  "OpenEXR/IlmImf/ImfScanLineInputFile.cpp",
            "function":  "ScanLineInputFile::initialize"
        }
    }
]
vanir_signatures_modified
"2026-08-27T08:40:32Z"