# CVE-2021-20304

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-08-23 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-20304, DEBIAN-CVE-2021-20304
- Record: https://cvemate.com/vulnerability/CVE-2021-20304 · JSON: https://cvemate.com/vulnerability/CVE-2021-20304/json

## Description

```text
A flaw was found in OpenEXR's hufDecode functionality. This flaw allows an attacker who can pass a crafted file to be processed by OpenEXR, to trigger an undefined right shift error. The highest threat from this vulnerability is to system availability.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.989%, percentile 81.326%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian openexr (Debian): \< 2.5.4-1
- ubuntu openexr (Ubuntu): All versions (No fix recorded)
- openexr openexr: ≤ 2.5.7

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229>
- <https://github.com/AcademySoftwareFoundation/openexr/pull/849>
- <https://github.com/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1939157>
- <https://access.redhat.com/security/cve/CVE-2021-20304>
- <https://security.gentoo.org/glsa/202210-31>
- <https://ubuntu.com/security/CVE-2021-20304>
- <https://www.cve.org/CVERecord?id=CVE-2021-20304>
- <https://security-tracker.debian.org/tracker/CVE-2021-20304>

---

Data as of 2026-12-05T11:16:07.648Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
