Name | CVE-2021-3941 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3236-1, DSA-5299-1 |
Debian Bugs | 1014828 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
openexr (PTS) | jessie, jessie (lts) | 1.6.1-8+deb8u3 | vulnerable |
| stretch (security), stretch (lts), stretch | 2.2.0-11+deb9u4 | vulnerable |
| buster (security), buster, buster (lts) | 2.2.1-4.1+deb10u2 | fixed |
| bullseye (security), bullseye | 2.5.4-2+deb11u1 | fixed |
| bookworm | 3.1.5-5 | fixed |
| sid, trixie | 3.1.5-5.1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - openexr <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2019789
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39084
https://github.com/AcademySoftwareFoundation/openexr/pull/1153
Fixed by: https://github.com/AcademySoftwareFoundation/openexr/commit/a0cfa81153b2464b864c5fe39a53cb03339092ed
[jessie] - openexr <no-dsa> (Minor issue)