CVE-2021-20304 json
A flaw was found in OpenEXR's hufDecode functionality.
published 2022-08-23 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-7729
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openexr Debian 14, Debian 13, Debian 12 2.5.4-1
debian advisories DEBIAN-CVE-2021-20304
- OpenEXR SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 1.6.1-83.17.30.1
- openexr SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +12 more 2.1.0-6.37.1
- openexr SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +12 more 2.2.1-3.35.1
suse advisories SUSE-SU-2021:14846-1SUSE-SU-2021:2913-1SUSE-SU-2021:2793-1
- openexr openSUSE Leap 15.2 2.2.1-lp152.7.20.1
- openexr openSUSE Leap 15.3 2.2.1-3.35.1
opensuse advisories openSUSE-SU-2021:1198-1openSUSE-SU-2021:2793-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-20304 updated cvss 7.5
OpenEXR: Undefined-shift in Imf_2_5::hufDecode
-
Red Hat Enterprise Linux 6 OpenEXR, OpenEXR-libs Red Hat Enterprise Linux 7 OpenEXR, OpenEXR-libsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 OpenEXR, OpenEXR-libsaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.07% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- n/a OpenEXR
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/AcademySoftwareFoundation/openexr/pull/849
patch, third-party-advisory
-
github.com
/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e
patch, third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=26229
exploit, mailing-list, third-party-advisory
-
security.gentoo.org
/glsa/202210-31
vendor-advisory, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1939157
issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2021-20304
third-party-advisory
Sources
- CVE List CVE-2021-20304
- NVD CVE-2021-20304
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.