CVE-2021-3941

openexr: Divide-by-zero in Imf_3_1::RGBtoXYZ

Published Mar 25, 2022 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3236-1 openexr security update
Debian DSA Debian DSA DSA-5299-1 openexr security update
EUVD EUVD EUVD-2021-27154 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.
Ubuntu USN Ubuntu USN USN-5150-1 OpenEXR vulnerability
Ubuntu USN Ubuntu USN USN-5620-1 OpenEXR vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:09 PM
Reserved
Nov 9, 2021, 12:00 AM
Status
Modified
Published
Mar 25, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:06 AM
Severity
Low
Public date
Sep 21, 2021, 12:00 AM