{"id":"CVE-2021-3941","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2022-03-25T00:00:00.000Z","updatedAt":"2024-08-03T17:09:09.632Z","severity":null,"assigner":"redhat","products":["n/a openexr"],"affected":[{"vendor":"n/a","product":"openexr","versions":[{"version":"OpenEXR 3.1.2","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2019789","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/","https://security.gentoo.org/glsa/202210-31","https://www.debian.org/security/2022/dsa-5299","https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html"],"weaknesses":["CWE-369"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3941.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3941","state":"PUBLISHED","datePublished":"2022-03-25T00:00:00.000Z","dateUpdated":"2024-08-03T17:09:09.632Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-11-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"openexr","versions":[{"version":"OpenEXR 3.1.2","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2019789"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/","name":"FEDORA-2022-18e14f460c","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202210-31","name":"GLSA-202210-31","tags":["vendor-advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5299","name":"DSA-5299","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html","name":"[debian-lts-announce] 20221211 [SECURITY] [DLA 3236-1] openexr security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-369","type":"CWE","lang":"en","description":"CWE-369"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2022-12-12T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2019789","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/","name":"FEDORA-2022-18e14f460c","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202210-31","name":"GLSA-202210-31","tags":["vendor-advisory","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5299","name":"DSA-5299","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html","name":"[debian-lts-announce] 20221211 [SECURITY] [DLA 3236-1] openexr security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:09:09.632Z"}}]}}}