{"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-04-16T04:39:07.250902327Z","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"],"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/openexr/openexr","events":[{"introduced":"0"},{"last_affected":"2eec453b01b1187873474f31eb5b127b0a52e4ff"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.1.2"}]}}],"versions":["OPENEXR_1_0_4","v1.7.1","v2.0.0","v2.0.0.GM","v2.0.1","v2.1.0","v2.3.0","v2.4.0","v2.4.0-beta.1","v2.5.0","v3.0.0-beta","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"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"last_affected":"36"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"11.0"}]}],"source":"https://storage.googleapis.com/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"}]}