CVE-2021-3941

MEDIUM

Openexr - Divide By Zero

Title source: rule

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.

Scores

CVSS v3 6.5
EPSS 0.0013
EPSS Percentile 31.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Classification

CWE
CWE-369
Status published

Affected Products (9)

openexr/openexr
redhat/enterprise_linux
redhat/enterprise_linux
redhat/enterprise_linux
fedoraproject/fedora
fedoraproject/fedora
fedoraproject/fedora
debian/debian_linux
debian/debian_linux

Timeline

Published Mar 25, 2022
Tracked Since Feb 18, 2026