CVE-2021-3941CWE-369

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

published March 25, 2022

CVSS
—
EPSS
0%
Percentile
21.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00303 · 21.8th percentile
Weakness
CWE-369 · Divide By Zero
Published
2022-03-25T00:00Z
EPSS history
Timeline
  • 25 MAR 00:00Z
    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;`…
    cvelistv5