Vulnerability · Published Mar 25, 2022 · Assigned by redhat

CVE-2021-3941

Medium 6.5

In plain English

A medium-severity security flaw in openexr. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.3%top 76.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12openexr3.1.5-2DEBIAN-CVE-2021-3941
Debian:13openexr3.1.5-2DEBIAN-CVE-2021-3941
Debian:14openexr3.1.5-2DEBIAN-CVE-2021-3941

Affected products (as reported)

VendorProductVersions
n/a openexr OpenEXR 3.1.2

Weakness: CWE-369

References