CVEfocus › CVE database › CVE-2021-3941

CVE-2021-3941

CVSS 6.5 MediumEPSS 0.3% (higher than 15% of CVEs)Published 2022-03-25Updated 2024-08-03Assigner: redhat

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.

CWE-369

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
10Fix pending
6Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10openexrNot affected
vulnerable_code_not_present
Ubuntu 22.04openexrFix pending2.5.7-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-3941
Ubuntu 20.04openexrFix pending2.3.0-6ubuntu0.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-3941
Ubuntu 18.04openexrFixed2.2.0-11.1ubuntu1.9UBUNTU-CVE-2021-3941
Ubuntu 16.04openexrFix pending2.2.0-10ubuntu2.6+esm3 (Ubuntu Pro)UBUNTU-CVE-2021-3941
Ubuntu 14.04openexrFix pending
Debian 14openexrFixed3.1.5-2DEBIAN-CVE-2021-3941
Debian 13openexrFixed3.1.5-2DEBIAN-CVE-2021-3941
Debian 12openexrFixed3.1.5-2DEBIAN-CVE-2021-3941
Red Hat Enterprise Linux 8OpenEXRFix pending
Fix deferred
Red Hat Enterprise Linux 8OpenEXR-develFix pending
Fix deferred
Red Hat Enterprise Linux 8OpenEXR-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw-OpenEXRFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-OpenEXRFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-OpenEXRFix pending
Fix deferred
Red Hat Enterprise Linux 7OpenEXRWill not fix
Out of support scope
Red Hat Enterprise Linux 7OpenEXR-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7OpenEXR-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6OpenEXRWill not fix
Out of support scope
Red Hat Enterprise Linux 6OpenEXR-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6OpenEXR-libsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.