NetSight
medium6.5

CVE-2021-3941

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;`…

Impact

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 products

VendorProductAffected versions
OpenexrOpenexr
Version 3.1.2
RedhatEnterprise Linux
Versions 6.0, 7.0, 8.0
FedoraprojectFedora
Versions 34, 35, 36
DebianDebian Linux
Versions 10.0, 11.0

Weakness classification

References