{"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-05-28T04:08:41.618205816Z","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:*:*:*:*:*:*:*"],"vendor_product":"debian:debian_linux","extracted_events":[{"last_affected":"10.0"},{"last_affected":"11.0"}],"source":"CPE_STRING"},{"cpes":["cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"],"vendor_product":"fedoraproject:fedora","extracted_events":[{"last_affected":"34"},{"last_affected":"35"},{"last_affected":"36"}],"source":"CPE_STRING"},{"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:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"6.0"},{"last_affected":"7.0"},{"last_affected":"8.0"}],"vendor_product":"redhat:enterprise_linux","source":"CPE_STRING"}]},"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":"0"},{"last_affected":"2eec453b01b1187873474f31eb5b127b0a52e4ff"}],"database_specific":{"cpe":"cpe:2.3:a:openexr:openexr:3.1.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"3.1.2"}],"source":"CPE_STRING"}}],"versions":["v3.1.2-rc2","v3.1.2","v3.1.2-rc","v3.1.1-rc","v3.1.1","v3.1.0-rc1","v3.1.0","v3.0.0-beta","v2.5.0","v2.4.0","v2.4.0-beta.1","v2.3.0","v2.1.0","v2.0.1","v2.0.0.GM","v2.0.0","v1.7.1","OPENEXR_1_0_4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3941.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"}]}