{"api_version":"1","generated_at":"2026-04-22T22:40:44+00:00","cve":"CVE-2021-20304","urls":{"html":"https://cve.report/CVE-2021-20304","api":"https://cve.report/api/cve/CVE-2021-20304.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20304","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20304"},"summary":{"title":"CVE-2021-20304","description":"A flaw was found in OpenEXR's hufDecode functionality. This flaw allows an attacker who can pass a crafted file to be processed by OpenEXR, to trigger an undefined right shift error. The highest threat from this vulnerability is to system availability.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-08-23 16:15:00","updated_at":"2022-12-07 02:23:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"https://github.com/AcademySoftwareFoundation/openexr/pull/849","name":"https://github.com/AcademySoftwareFoundation/openexr/pull/849","refsource":"MISC","tags":[],"title":"check for valid Huf code lengths by peterhillman · Pull Request #849 · AcademySoftwareFoundation/openexr · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://access.redhat.com/security/cve/CVE-2021-20304","name":"https://access.redhat.com/security/cve/CVE-2021-20304","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1939157","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1939157","refsource":"MISC","tags":[],"title":"1939157 – (CVE-2021-20304) CVE-2021-20304 OpenEXR: Undefined-shift in Imf_2_5::hufDecode","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202210-31","name":"GLSA-202210-31","refsource":"GENTOO","tags":[],"title":"OpenEXR: Multiple Vulnerabilities (GLSA 202210-31) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229","refsource":"MISC","tags":[],"title":"26229 - \n \n \n oss-fuzz -\n \n \n OSS-Fuzz: Fuzzing the planet - \n \n Monorail","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e","name":"https://github.com/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e","refsource":"MISC","tags":[],"title":"check for valid Huf code lengths (#849) · AcademySoftwareFoundation/openexr@51a92d6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20304","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20304","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20304","vulnerable":"1","versionEndIncluding":"2.5.7","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openexr","cpe5":"openexr","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20304","qid":"179825","title":"Debian Security Update for openexr (CVE-2021-20304)"},{"cve":"CVE-2021-20304","qid":"355396","title":"Amazon Linux Security Advisory for OpenEXR : ALAS2-2023-2078"},{"cve":"CVE-2021-20304","qid":"670719","title":"EulerOS Security Update for OpenEXR (EulerOS-SA-2021-2477)"},{"cve":"CVE-2021-20304","qid":"670756","title":"EulerOS Security Update for OpenEXR (EulerOS-SA-2021-2514)"},{"cve":"CVE-2021-20304","qid":"671138","title":"EulerOS Security Update for OpenEXR (EulerOS-SA-2021-2600)"},{"cve":"CVE-2021-20304","qid":"710663","title":"Gentoo Linux OpenEXR Multiple Vulnerabilities (GLSA 202210-31)"},{"cve":"CVE-2021-20304","qid":"750987","title":"SUSE Enterprise Linux Security Update for openexr (SUSE-SU-2021:2793-1)"},{"cve":"CVE-2021-20304","qid":"751018","title":"OpenSUSE Security Update for openexr (openSUSE-SU-2021:2793-1)"},{"cve":"CVE-2021-20304","qid":"751042","title":"OpenSUSE Security Update for openexr (openSUSE-SU-2021:1198-1)"},{"cve":"CVE-2021-20304","qid":"751072","title":"SUSE Enterprise Linux Security Update for openexr (SUSE-SU-2021:2913-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-20304","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"OpenEXR","version":{"version_data":[{"version_value":"Fixed in OpenEXR 3.0.0-beta"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-190 - Integer Overflow or Wraparound"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229"},{"refsource":"MISC","name":"https://github.com/AcademySoftwareFoundation/openexr/pull/849","url":"https://github.com/AcademySoftwareFoundation/openexr/pull/849"},{"refsource":"MISC","name":"https://github.com/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e","url":"https://github.com/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e"},{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1939157","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1939157"},{"refsource":"MISC","name":"https://access.redhat.com/security/cve/CVE-2021-20304","url":"https://access.redhat.com/security/cve/CVE-2021-20304"},{"refsource":"GENTOO","name":"GLSA-202210-31","url":"https://security.gentoo.org/glsa/202210-31"}]},"description":{"description_data":[{"lang":"eng","value":"A flaw was found in OpenEXR's hufDecode functionality. This flaw allows an attacker who can pass a crafted file to be processed by OpenEXR, to trigger an undefined right shift error. The highest threat from this vulnerability is to system availability."}]}},"nvd":{"publishedDate":"2022-08-23 16:15:00","lastModifiedDate":"2022-12-07 02:23:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*","versionEndIncluding":"2.5.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20304","Ordinal":"194345","Title":"CVE-2021-20304","CVE":"CVE-2021-20304","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20304","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}