CVE-2021-45942

Source
https://cve.org/CVERecord?id=CVE-2021-45942
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45942.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-45942
Downstream
DEBIAN (1)
JLSEC (1)
MGASA (1)
OESA (1)
openSUSE (2)
SUSE (3)
UBUNTU (1)
Related
Published
2022-01-01T01:15:09Z
Modified
2026-08-27T08:14:45Z
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

OpenEXR 3.1.x before 3.1.4 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask::execute (called from IlmThread_3_1::NullThreadPoolProvider::addTask and IlmThread_3_1::ThreadPool::addGlobalTask). NOTE: db217f2 may be inapplicable.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "10.0"
                },
                {
                    "last_affected":  "10.0"
                },
                {
                    "introduced":  "11.0"
                },
                {
                    "last_affected":  "11.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "34"
                },
                {
                    "last_affected":  "34"
                },
                {
                    "introduced":  "35"
                },
                {
                    "last_affected":  "35"
                },
                {
                    "introduced":  "36"
                },
                {
                    "last_affected":  "36"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git
github.com/AcademySoftwareFoundation/openexr

Affected ranges

Type
GIT
Repo
https://github.com/AcademySoftwareFoundation/openexr
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "3.1.0"
        },
        {
            "fixed":  "3.1.4"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v3.*
v3.1.0
v3.1.0-rc1
v3.1.1
v3.1.1-rc
v3.1.2
v3.1.2-rc
v3.1.2-rc2
v3.1.3
v3.1.3-rc

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45942.json"
github.com/academysoftwarefoundation/openexr

Affected ranges

Type
GIT
Repo
https://github.com/academysoftwarefoundation/openexr
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "3.1.0"
        },
        {
            "fixed":  "3.1.4"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v3.*
v3.1.0
v3.1.0-rc1
v3.1.1
v3.1.1-rc
v3.1.2
v3.1.2-rc
v3.1.2-rc2
v3.1.3
v3.1.3-rc

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45942.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "91325097609538975938839288582012065129",
                "253262582701365962304054289157660516177",
                "311902830990348950937288566678359618339",
                "276586492905127154042036174912484144033",
                "188831020824104559036523858955344443108",
                "161704828430724978381240602373035083082",
                "278371039388581491327703370562709045406",
                "266711709169808084797339884642694441415",
                "296893220345172727778302497048130209817",
                "316457263467203110643778627538681938526",
                "205303340487489424337040860361738762156"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-45942-23c168f3",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/academysoftwarefoundation/openexr/commit/db217f29dfb24f6b4b5100c24ac5e7490e1c57d0",
        "target":  {
            "file":  "src/lib/OpenEXR/ImfDeepScanLineInputFile.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "261060456331839676951654666103115895398",
            "length":  3393
        },
        "id":  "CVE-2021-45942-5f0097db",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/academysoftwarefoundation/openexr/commit/db217f29dfb24f6b4b5100c24ac5e7490e1c57d0",
        "target":  {
            "file":  "src/lib/OpenEXR/ImfDeepScanLineInputFile.cpp",
            "function":  "readSampleCountForLineBlock"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "316721967187106063181695801990944930618",
                "94654718054767645311657229282167205772",
                "112344748540393282297725007213985904054",
                "71949429348040882983664868528521426691"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-45942-69e046d7",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/academysoftwarefoundation/openexr/commit/11cad77da87c4fa2aab7d58dd5339e254db7937e",
        "target":  {
            "file":  "src/lib/OpenEXR/ImfCompositeDeepScanLine.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "262584198376023626102395360950088918721",
            "length":  761
        },
        "id":  "CVE-2021-45942-efaf5dcd",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/academysoftwarefoundation/openexr/commit/11cad77da87c4fa2aab7d58dd5339e254db7937e",
        "target":  {
            "file":  "src/lib/OpenEXR/ImfCompositeDeepScanLine.cpp",
            "function":  "CompositeDeepScanLine::setFrameBuffer"
        }
    }
]
vanir_signatures_modified
"2026-08-27T08:14:45Z"