Divide By Zero Affecting openexr-devel package, versions <2.2.1-3.38.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.03% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES152-OPENEXRDEVEL-2652431
  • published14 Apr 2022
  • disclosed1 Dec 2021

Introduced: 1 Dec 2021

CVE-2021-3941  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 openexr-devel to version 2.2.1-3.38.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openexr-devel package and not the openexr-devel package as distributed by SLES. See How to fix? for SLES:15.2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1