{"api_version":"1","generated_at":"2026-04-23T04:10:49+00:00","cve":"CVE-2021-3941","urls":{"html":"https://cve.report/CVE-2021-3941","api":"https://cve.report/api/cve/CVE-2021-3941.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3941","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3941"},"summary":{"title":"CVE-2021-3941","description":"In ImfChromaticities.cpp routine RGBtoXYZ(), there are some division operations such as `float Z = (1 - chroma.white.x - chroma.white.y) * Y / chroma.white.y;` and `chroma.green.y * (X + Z))) / d;` but the divisor is not checked for a 0 value. A specially crafted file could trigger a divide-by-zero condition which could affect the availability of programs linked with OpenEXR.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-03-25 19:15:00","updated_at":"2023-11-07 03:38:00"},"problem_types":["CWE-369"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/","name":"FEDORA-2022-18e14f460c","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: openexr-3.1.4-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html","name":"[debian-lts-announce] 20221211 [SECURITY] [DLA 3236-1] openexr security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3236-1] openexr security update","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://bugzilla.redhat.com/show_bug.cgi?id=2019789","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2019789","refsource":"MISC","tags":[],"title":"2019789 – (CVE-2021-3941) CVE-2021-3941 openexr: Divide-by-zero in Imf_3_1::RGBtoXYZ","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5299","name":"DSA-5299","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5299-1 openexr","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/","name":"FEDORA-2022-18e14f460c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: openexr-3.1.4-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3941","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3941","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openexr","cpe5":"openexr","cpe6":"3.1.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"6.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3941","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3941","qid":"181314","title":"Debian Security Update for openexr (DSA 5299-1)"},{"cve":"CVE-2021-3941","qid":"181315","title":"Debian Security Update for openexr (DLA 3236-1)"},{"cve":"CVE-2021-3941","qid":"183106","title":"Debian Security Update for openexr (CVE-2021-3941)"},{"cve":"CVE-2021-3941","qid":"198574","title":"Ubuntu Security Notification for OpenEXR Vulnerability (USN-5150-1)"},{"cve":"CVE-2021-3941","qid":"282343","title":"Fedora Security Update for mingw (FEDORA-2022-eca9d3b7fa)"},{"cve":"CVE-2021-3941","qid":"282496","title":"Fedora Security Update for openexr (FEDORA-2022-5cdfa7faa5)"},{"cve":"CVE-2021-3941","qid":"354403","title":"Amazon Linux Security Advisory for openexr : ALAS2022-2022-216"},{"cve":"CVE-2021-3941","qid":"354492","title":"Amazon Linux Security Advisory for openexr : ALAS2022-2022-061"},{"cve":"CVE-2021-3941","qid":"354575","title":"Amazon Linux Security Advisory for openexr : ALAS-2022-216"},{"cve":"CVE-2021-3941","qid":"355172","title":"Amazon Linux Security Advisory for openexr : ALAS2023-2023-022"},{"cve":"CVE-2021-3941","qid":"671270","title":"EulerOS Security Update for OpenEXR (EulerOS-SA-2022-1179)"},{"cve":"CVE-2021-3941","qid":"671337","title":"EulerOS Security Update for OpenEXR (EulerOS-SA-2022-1279)"},{"cve":"CVE-2021-3941","qid":"710663","title":"Gentoo Linux OpenEXR Multiple Vulnerabilities (GLSA 202210-31)"},{"cve":"CVE-2021-3941","qid":"751416","title":"SUSE Enterprise Linux Security Update for openexr (SUSE-SU-2021:3843-1)"},{"cve":"CVE-2021-3941","qid":"751430","title":"OpenSUSE Security Update for openexr (openSUSE-SU-2021:3844-1)"},{"cve":"CVE-2021-3941","qid":"751470","title":"OpenSUSE Security Update for openexr (openSUSE-SU-2021:1537-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-3941","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":"OpenEXR 3.1.2"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-369"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2019789","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2019789"},{"refsource":"FEDORA","name":"FEDORA-2022-18e14f460c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/"},{"refsource":"GENTOO","name":"GLSA-202210-31","url":"https://security.gentoo.org/glsa/202210-31"},{"refsource":"DEBIAN","name":"DSA-5299","url":"https://www.debian.org/security/2022/dsa-5299"},{"refsource":"MLIST","name":"[debian-lts-announce] 20221211 [SECURITY] [DLA 3236-1] openexr security update","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html"}]},"description":{"description_data":[{"lang":"eng","value":"In ImfChromaticities.cpp routine RGBtoXYZ(), there are some division operations such as `float Z = (1 - chroma.white.x - chroma.white.y) * Y / chroma.white.y;` and `chroma.green.y * (X + Z))) / d;` but the divisor is not checked for a 0 value. A specially crafted file could trigger a divide-by-zero condition which could affect the availability of programs linked with OpenEXR."}]}},"nvd":{"publishedDate":"2022-03-25 19:15:00","lastModifiedDate":"2023-11-07 03:38:00","problem_types":["CWE-369"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2,"impactScore":4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openexr:openexr:3.1.2:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3941","Ordinal":"220627","Title":"CVE-2021-3941","CVE":"CVE-2021-3941","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3941","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}]}}}