Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3478

There's a flaw in OpenEXR's scanline input file functionality in versions before 3.0.0-beta. An attacker able to submit a crafted file to be processed by OpenEXR could consume excessive system memory. The greatest impact of this flaw is to system availability.

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

Source evidence

CVE-2021-3478

core-osv · Original source

Published 31 Mar 2021, 14:15 UTC

There's a flaw in OpenEXR's scanline input file functionality in versions before 3.0.0-beta. An attacker able to submit a crafted file to be processed by OpenEXR could consume excessive system memory. The greatest impact of this flaw is to system availability.

osv:CVE-2021-3478
Complete source record
{
  "id": "ada376bc670fe6e5b618074a9b3564cc9b5601addf810b67853d0480934ff45c",
  "url": "https://osv.dev/vulnerability/CVE-2021-3478",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3478",
    "summary": "There's a flaw in OpenEXR's scanline input file functionality in versions before 3.0.0-beta. An attacker able to submit a crafted file to be processed by OpenEXR could consume excessive system memory. The greatest impact of this flaw is to system availability.",
    "evidence": "osv:CVE-2021-3478",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3478",
      "aliases": [
        "CVE-2021-3478"
      ],
      "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": "7bab6d44caf65ee3cabe31553f8e2968c8747be5"
                },
                {
                  "introduced": "ed64d5467dee9763f28baf300f7699e6288b9f5f"
                },
                {
                  "fixed": "1899a456cbafb213c4a53c35eb3203296f92e503"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.5.0"
                      },
                      {
                        "fixed": "2.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.2",
            "v2.5.3",
            "v2.5.2",
            "v2.5.1",
            "v2.5.0",
            "v2.4.1",
            "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-3478.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-3478-5d703456",
                "digest": {
                  "length": 1690,
                  "function_hash": "147499493693564905582259429661292444797"
                },
                "source": "https://github.com/AcademySoftwareFoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
                "target": {
                  "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp",
                  "function": "ScanLineInputFile::initialize"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-3478-e1f8daad",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "183799983013183831380237481661086301550",
                    "111519733374137260985206676436366582935",
                    "338562742485568351177658719788975857619",
                    "84570287594119879542064273017314287589",
                    "152453817114836365619507449973532304004",
                    "152126518450649847430180110668365421093",
                    "334371091860315902789981231789629231501"
                  ]
                },
                "source": "https://github.com/AcademySoftwareFoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
                "target": {
                  "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:18:03Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/academysoftwarefoundation/openexr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7bab6d44caf65ee3cabe31553f8e2968c8747be5"
                },
                {
                  "introduced": "ed64d5467dee9763f28baf300f7699e6288b9f5f"
                },
                {
                  "fixed": "1899a456cbafb213c4a53c35eb3203296f92e503"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.5.0"
                      },
                      {
                        "fixed": "2.5.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.2",
            "v2.5.3",
            "v2.5.2",
            "v2.5.1",
            "v2.5.0",
            "v2.4.1",
            "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-3478.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-3478-408350e5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "183799983013183831380237481661086301550",
                    "111519733374137260985206676436366582935",
                    "338562742485568351177658719788975857619",
                    "84570287594119879542064273017314287589",
                    "152453817114836365619507449973532304004",
                    "152126518450649847430180110668365421093",
                    "334371091860315902789981231789629231501"
                  ]
                },
                "source": "https://github.com/academysoftwarefoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
                "target": {
                  "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-3478-e59eff32",
                "digest": {
                  "length": 1690,
                  "function_hash": "147499493693564905582259429661292444797"
                },
                "source": "https://github.com/academysoftwarefoundation/openexr/commit/7bab6d44caf65ee3cabe31553f8e2968c8747be5",
                "target": {
                  "file": "OpenEXR/IlmImf/ImfScanLineInputFile.cpp",
                  "function": "ScanLineInputFile::initialize"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:18:03Z"
          }
        }
      ],
      "modified": "2026-10-24T14:18:03.635969642Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2021/07/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2022/12/msg00022.html",
        "https://security.gentoo.org/glsa/202107-27",
        "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27409",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1939160"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3478",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443439,
  "published_at": "2021-03-31T14:15:21.127+00:00"
}