CVE-2021-3941
Reported by redhat · Published March 25, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openexr-libs | Amazon Linux | 3.1.5-1.amzn2023.0.3 |
| openexr | Amazon Linux | 3.1.5-1.amzn2023.0.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | openexr | OpenEXR 3.1.2 |
| ConanCenter | openexr | 3.1.2 |
| amazon:2023 | openexr-libs | 0 |
| amazon:2023 | openexr | 0 |
| n/a | openexr | 3.1.2 |
| amazon:2023 | openexr-devel | 0 |
Timeline
- Dec 1, 2021 CVE Published
- Mar 26, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (5 in total, the first dated here)
- Jul 23, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3941
vulnetix vdb fixes CVE-2021-3941
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3941/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-18e14f460c vendor-advisory
- GLSA-202210-31 vendor-advisory
- DSA-5299 vendor-advisory
- [debian-lts-announce] 20221211 [SECURITY] [DLA 3236-1] openexr security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2021-3941 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I2JSMJ7HLWFPYYV7IAQZD5ZUUUN7RWBN/ url