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.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Modified"
},
"id": "CVE-2021-3941",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3941",
"imported": "2026-04-17T13:59:24.267Z",
"published": "2022-03-25T19:15:09.307Z",
"modified": "2024-11-21T06:22:49.330Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-3941"
}
]
}