{"id":"CVE-2021-3941","details":"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.","modified":"2026-08-27T03:48:56.424544499Z","published":"2022-03-25T19:15:09.307Z","related":["SUSE-SU-2021:14846-1","SUSE-SU-2021:3843-1","SUSE-SU-2021:3844-1","openSUSE-SU-2021:1537-1","openSUSE-SU-2021:3844-1"],"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"},{"vendor_product":"fedoraproject:fedora","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"},{"extracted_events":[{"introduced":"6.0"},{"last_affected":"6.0"},{"introduced":"7.0"},{"last_affected":"7.0"},{"introduced":"8.0"},{"last_affected":"8.0"}],"source":"CPE_STRING","vendor_product":"redhat:enterprise_linux","cpes":["cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-31"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5299"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2019789"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/AcademySoftwareFoundation/openexr","events":[{"introduced":"2eec453b01b1187873474f31eb5b127b0a52e4ff"},{"last_affected":"2eec453b01b1187873474f31eb5b127b0a52e4ff"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:openexr:openexr:3.1.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.1.2"},{"last_affected":"3.1.2"}]}}],"versions":["3.1.2","v3.1.2-rc2","v3.1.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3941.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/academysoftwarefoundation/openexr","events":[{"introduced":"2eec453b01b1187873474f31eb5b127b0a52e4ff"},{"last_affected":"2eec453b01b1187873474f31eb5b127b0a52e4ff"}],"database_specific":{"extracted_events":[{"introduced":"3.1.2"},{"last_affected":"3.1.2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:openexr:openexr:3.1.2:*:*:*:*:*:*:*"}}],"versions":["3.1.2","v3.1.2-rc2","v3.1.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3941.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"}]}