Skip to content
OpenAdvisories
Unscored CVE-2021-3941 EUVD-2021-27154GHSA-rpq9-h75r-mccg

In ImfChromaticities.cpp routine RGBtoXYZ(), there are some division operations such as `float Z = (1 - chroma.white.x - chroma.white.y) * …

Published Mar 25, 2022 · Updated Aug 3, 2024 · Assigned by redhat

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 products

VendorProductAffectedFixed
— openexr OpenEXR 3.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openexr 3.1.5-2 —
Debian 13 openexr 3.1.5-2 —
Debian 12 openexr 3.1.5-2 —
Debian 11 openexr 2.5.4-2+deb11u1 DSA-5299-1
Debian 10 openexr 2.2.1-4.1+deb10u2 DLA-3236-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS openexr 2.2.0-11.1ubuntu1.9 USN-5150-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS openexr 2.5.7-1ubuntu0.1~esm1 USN-5620-1
Ubuntu Pro 20.04 LTS openexr 2.3.0-6ubuntu0.5+esm1 USN-5620-1
Ubuntu Pro 16.04 LTS openexr 2.2.0-10ubuntu2.6+esm3 USN-5150-1
ReleasePackageFixed inAdvisory
SLES 15 SP3 openexr 2.2.1-3.38.1 SUSE-SU-2021:3844-1
SLES 15 SP2 openexr 2.2.1-3.38.1 SUSE-SU-2021:3844-1
SLES 12 SP5 openexr 2.1.0-6.42.1 SUSE-SU-2021:3843-1
SLES 11 SP4 OpenEXR 1.6.1-83.17.30.1 SUSE-SU-2021:14846-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 openexr 2.1.0-6.42.1 SUSE-SU-2021:3843-1
SUSE Linux Enterprise Point of Sale 11 SP3 OpenEXR 1.6.1-83.17.30.1 SUSE-SU-2021:14846-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 openexr 2.2.1-3.38.1 openSUSE-SU-2021:3844-1
openSUSE Leap 15.2 openexr 2.2.1-lp152.7.23.1 openSUSE-SU-2021:1537-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openexr +2 3.1.5-1.amzn2023.0.3 ALAS2023-2023-022

Advisories 10

References