CVE & CISA-KEV Catalog

CVE-2021-3941

MEDIUM
6.5
CVSS v3
NVD

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.

How to fix

Remediation Available
openexrDebian
Fixed in:2.5.4-2+deb11u1CVE-2021-3941
Fixed in:3.1.5-2CVE-2021-3941
Fixed in:3.1.5-2CVE-2021-3941
Fixed in:3.1.5-2CVE-2021-3941
libopenexr22Ubuntu
Fixed in:2.2.0-10ubuntu2.6+esm3USN-5150-1
Fixed in:2.2.0-11.1ubuntu1.9USN-5150-1
libopenexr24Ubuntu
Fixed in:2.3.0-6ubuntu0.5+esm1USN-5620-1
libopenexr25Ubuntu
Fixed in:2.5.7-1ubuntu0.1~esm1USN-5620-1
openexrUbuntu
Fixed in:2.2.0-10ubuntu2.6+esm3USN-5150-1
Fixed in:2.2.0-11.1ubuntu1.9USN-5150-1
Fixed in:2.3.0-6ubuntu0.5+esm1USN-5620-1
Fixed in:2.5.7-1ubuntu0.1~esm1USN-5620-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Exploit Intelligence

0.29%probability of exploitation in 30 days
21stpercentile

Low risk: more likely to be exploited than 21% of all known CVEs.

References

Related Vulnerabilities

Other CWE-369 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-0207High7.520%-Fix
CVE-2017-8537Medium5.517%--
CVE-2017-8536Medium5.517%--
CVE-2017-8535Medium5.517%--
CVE-2007-2237Medium5.515%--
CVE-2025-0317High7.513%--
Embed a live status badge for CVE-2021-3941
CVE-2021-3941 severity badge

Markdown

[![CVE-2021-3941](https://tridentstack.com/cve/badge/CVE-2021-3941.svg)](https://tridentstack.com/cve/CVE-2021-3941)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-3941"><img src="https://tridentstack.com/cve/badge/CVE-2021-3941.svg" alt="CVE-2021-3941"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.