In ImfChromaticities.cpp routine RGBtoXYZ(), there are...
Moderate severity
Unreviewed
Published
Mar 26, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Mar 25, 2022
Published to the GitHub Advisory Database
Mar 26, 2022
Last updated
Jan 27, 2023
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;
andchroma.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.References