Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openexr | Openexr | 3.1.2 |
| Redhat | Enterprise Linux | 6.0 |
| Fedoraproject | Fedora | 34 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2019789Issue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00022.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202210-31Third Party Advisory
- https://www.debian.org/security/2022/dsa-5299Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2019789Issue TrackingPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00022.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202210-31Third Party Advisory
- https://www.debian.org/security/2022/dsa-5299Third Party Advisory
FAQ
What is CVE-2021-3941?
CVE-2021-3941 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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;` bu...
How severe is CVE-2021-3941?
CVE-2021-3941 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3941?
Check the references section above for vendor advisories and patch information. Affected products include: Openexr Openexr, Redhat Enterprise Linux, Fedoraproject Fedora, Debian Debian Linux.