Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. openexr
  4. ›
  5. CVE-2021-20304

CVE-2021-20304: Integer Overflow or Wraparound

August 23, 2022 (updated December 7, 2022)

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.

References

  • access.redhat.com/security/cve/CVE-2021-20304
  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=26229
  • bugzilla.redhat.com/show_bug.cgi?id=1939157
  • github.com/AcademySoftwareFoundation/openexr/commit/51a92d67f53c08230734e74564c807043cbfe41e
  • github.com/AcademySoftwareFoundation/openexr/pull/849
  • nvd.nist.gov/vuln/detail/CVE-2021-20304

Code Behaviors & Features

Detect and mitigate CVE-2021-20304 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2.5.7

Fixed versions

  • 3.1.4

Solution

Upgrade to version 3.1.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound

Source file

conan/openexr/CVE-2021-20304.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.