Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-20300

A flaw was found in OpenEXR's hufUncompress functionality in OpenEXR/IlmImf/ImfHuf.cpp. This flaw allows an attacker who can submit a crafted file that is processed by OpenEXR, to trigger an integer overflow. The highest threat from this vulnerability is to system availability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-20300
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:57 UTC · Revision 1

Source evidence

CVE-2021-20300

core-osv · Original source

Published 4 Mar 2022, 18:15 UTC

A flaw was found in OpenEXR's hufUncompress functionality in OpenEXR/IlmImf/ImfHuf.cpp. This flaw allows an attacker who can submit a crafted file that is processed by OpenEXR, to trigger an integer overflow. The highest threat from this vulnerability is to system availability.

osv:CVE-2021-20300
Complete source record
{
  "id": "59444eacd2e214b6df5993cb91fc3e886b2fc4be841d2f995190cc93db84b7ef",
  "url": "https://osv.dev/vulnerability/CVE-2021-20300",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-20300",
    "summary": "A flaw was found in OpenEXR's hufUncompress functionality in OpenEXR/IlmImf/ImfHuf.cpp. This flaw allows an attacker who can submit a crafted file that is processed by OpenEXR, to trigger an integer overflow. The highest threat from this vulnerability is to system availability.",
    "evidence": "osv:CVE-2021-20300",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-20300",
      "aliases": [
        "CVE-2021-20300"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/AcademySoftwareFoundation/openexr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1899a456cbafb213c4a53c35eb3203296f92e503"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.5.3",
            "v2.5.2",
            "v2.5.1",
            "v2.5.0",
            "v2.4.0",
            "v2.4.0-beta.1",
            "v2.3.0",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0.GM",
            "v2.0.0",
            "v1.7.1",
            "OPENEXR_1_0_4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20300.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/academysoftwarefoundation/openexr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1899a456cbafb213c4a53c35eb3203296f92e503"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.5.3",
            "v2.5.2",
            "v2.5.1",
            "v2.5.0",
            "v2.4.0",
            "v2.4.0-beta.1",
            "v2.3.0",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0.GM",
            "v2.0.0",
            "v1.7.1",
            "OPENEXR_1_0_4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20300.json"
          }
        }
      ],
      "modified": "2026-10-24T10:51:23.810505357Z",
      "provider": "osv",
      "references": [
        "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25562",
        "https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1939153",
        "https://github.com/AcademySoftwareFoundation/openexr/pull/836"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-20300",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442585,
  "published_at": "2022-03-04T18:15:07.867+00:00"
}