CVE-2021-20304 Integer overflow in OpenEXR
An attacker can cause a denial of service by providing a crafted file that triggers an undefined right shift error in the OpenEXR library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-20304?
CVE-2021-20304 is a high-severity vulnerability in Openexr Openexr, published on 23 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-190
Which versions are affected by CVE-2021-20304?
It affects 1 product.
Products include Openexr Openexr.
How do I fix CVE-2021-20304?
Apply the vendor's patch.
Is CVE-2021-20304 being exploited?
There is no known exploitation of CVE-2021-20304 in the wild and no public exploit code.
Other vulnerabilities in Openexr Openexr
- CVE-2023-5841 OpenEXR Heap Overflow in Scanline Deep Data Parsing
- CVE-2026-41142 OpenEXR is Vulnerable to Integer overflow in ImageChannel::resize leads to heap OOB write via OpenEXRUtil public API
- CVE-2026-42216 OpenEXR: Out-of-bounds read in `IDManifest::init()` during prefix expansion
- CVE-2017-9111 OpenEXR invalid write
- CVE-2017-9113 Memory corruption in n/a
Sources
Also known as DEBIAN-CVE-2021-20304, GHSA-m48r-2qrf-q5hh, OESA-2022-1867, OESA-2022-1868, UBUNTU-CVE-2021-20304.