Skip to content

CVE-2021-3941 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 th...

MediumCVSS 6.5 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebianRed Hat

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.

Upgrade path

12 packages: 8 fixed.

PackageAffectedFixed inStatus
debian/openexr(Debian 12) < 3.1.5-2 3.1.5-2 Fixed
debian/openexr(Debian 13) < 3.1.5-2 3.1.5-2 Fixed
debian/openexr(Debian 14) < 3.1.5-2 3.1.5-2 Fixed
ubuntu/openexr(Ubuntu 18.04) < 2.2.0-11.1ubuntu1.9; = 2.2.0-11.1ubuntu1; = 2.2.0-11.1ubuntu1.1; = 2.2.0-11.1ubuntu1.2 +6 more 2.2.0-11.1ubuntu1.9 Fixed
ubuntu/openexr(Ubuntu 22.04) < 2.5.7-1ubuntu0.1~esm1 2.5.7-1ubuntu0.1~esm1 Fixed
ubuntu/openexr(Ubuntu Pro 16.04) < 2.2.0-10ubuntu2.6+esm3; = 2.2.0-1ubuntu3; = 2.2.0-7ubuntu1; = 2.2.0-9ubuntu1 +8 more 2.2.0-10ubuntu2.6+esm3 Fixed
ubuntu/openexr(Ubuntu Pro 20.04) < 2.3.0-6ubuntu0.5+esm1; = 2.2.1-4.1ubuntu1; = 2.3.0-6; = 2.3.0-6build1 +4 more 2.3.0-6ubuntu0.5+esm1 Fixed
ubuntu/openexr(Ubuntu Pro 22.04) < 2.5.7-1ubuntu0.1~esm1; = 2.5.4-2; = 2.5.7-1 2.5.7-1ubuntu0.1~esm1 Fixed
debian linux = 10.0; = 11.0 No fix listed Versions listed
fedoraproject fedora = 34; = 35; = 36 No fix listed Versions listed
openexr = 3.1.2 No fix listed Versions listed
redhat enterprise linux = 6.0; = 7.0; = 8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ubuntu/openexr(Ubuntu:22.04) < 2.5.7-1ubuntu0.1~esm1 2.5.7-1ubuntu0.1~esm1
debian/openexr(Debian:12) < 3.1.5-2 3.1.5-2
debian/openexr(Debian:13) < 3.1.5-2 3.1.5-2
debian/openexr(Debian:14) < 3.1.5-2 3.1.5-2
openexr = 3.1.2 No fix listed
redhat enterprise linux = 6.0 No fix listed
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
fedoraproject fedora = 34 No fix listed
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) < 2.2.0-10ubuntu2.6+esm3 2.2.0-10ubuntu2.6+esm3
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-1ubuntu3 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-7ubuntu1 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-9ubuntu1 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2.1 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2.2 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2.3 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2.4 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2.6 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2.6+esm1 No fix listed
ubuntu/openexr(Ubuntu:Pro:16.04) = 2.2.0-10ubuntu2.6+esm2 No fix listed
Show 21 more
ProductAffected versionsFixed in
ubuntu/openexr(Ubuntu:18.04) < 2.2.0-11.1ubuntu1.9 2.2.0-11.1ubuntu1.9
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11ubuntu1 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1.1 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1.2 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1.3 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1.4 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1.6 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1.7 No fix listed
ubuntu/openexr(Ubuntu:18.04) = 2.2.0-11.1ubuntu1.8 No fix listed
ubuntu/openexr(Ubuntu:Pro:20.04) < 2.3.0-6ubuntu0.5+esm1 2.3.0-6ubuntu0.5+esm1
ubuntu/openexr(Ubuntu:Pro:20.04) = 2.2.1-4.1ubuntu1 No fix listed
ubuntu/openexr(Ubuntu:Pro:20.04) = 2.3.0-6 No fix listed
ubuntu/openexr(Ubuntu:Pro:20.04) = 2.3.0-6build1 No fix listed
ubuntu/openexr(Ubuntu:Pro:20.04) = 2.3.0-6ubuntu0.1 No fix listed
ubuntu/openexr(Ubuntu:Pro:20.04) = 2.3.0-6ubuntu0.2 No fix listed
ubuntu/openexr(Ubuntu:Pro:20.04) = 2.3.0-6ubuntu0.3 No fix listed
ubuntu/openexr(Ubuntu:Pro:20.04) = 2.3.0-6ubuntu0.5 No fix listed
ubuntu/openexr(Ubuntu:Pro:22.04) < 2.5.7-1ubuntu0.1~esm1 2.5.7-1ubuntu0.1~esm1
ubuntu/openexr(Ubuntu:Pro:22.04) = 2.5.4-2 No fix listed
ubuntu/openexr(Ubuntu:Pro:22.04) = 2.5.7-1 No fix listed

References