CVE-2021-3941
Last modified
CVE-2021-3941 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openexr | Openexr | 3.1.2 |
| Redhat | Enterprise Linux | 6.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2019789Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00022.htmlMailing List, Third Party Advisory
- 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 Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00022.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202210-31Third Party Advisory
- https://www.debian.org/security/2022/dsa-5299Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3941?
How severe is CVE-2021-3941?
How do I fix CVE-2021-3941?
Are you affected by CVE-2021-3941?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
