CVE-2021-3941 — Divide By Zero in Openexr
Severity
6.5MEDIUMNVD
GHSA5.0OSV5.3
EPSS
0.1%
top 68.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 25
Latest updateSep 20
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:HExploitability: 2.0 | Impact: 4.0
Affected Packages6 packages
Also affects: Debian Linux 10.0, 11.0, Fedora 34, 35, 36, Enterprise Linux 6.0, 7.0, 8.0