CVE-2021-3941

NameCVE-2021-3941
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3236-1, DSA-5299-1
Debian Bugs1014828

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
openexr (PTS)jessie, jessie (lts)1.6.1-8+deb8u3vulnerable
stretch (security), stretch (lts), stretch2.2.0-11+deb9u4vulnerable
buster (security), buster, buster (lts)2.2.1-4.1+deb10u2fixed
bullseye (security), bullseye2.5.4-2+deb11u1fixed
bookworm3.1.5-5fixed
sid, trixie3.1.5-5.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openexrsourceexperimental3.1.3-1
openexrsourcebuster2.2.1-4.1+deb10u2DLA-3236-1
openexrsourcebullseye2.5.4-2+deb11u1DSA-5299-1
openexrsource(unstable)3.1.5-21014828

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)

Search for package or bug name: Reporting problems