{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.20.0"
                  },
                  {
                    "fixed": "1.23.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "3d9c246a778249d0dc6581a407f83433bcad6ca6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.23.4",
                "range": [
                  {
                    "fixed": "4e14f5942c1732ace9611b9522cc991501445463"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "a6d433aef7c854ce3fcdb7662b55f8bbcaca36c2"
            },
            {
              "fixed": "4e14f5942c1732ace9611b9522cc991501445463"
            },
            {
              "fixed": "3d9c246a778249d0dc6581a407f83433bcad6ca6"
            }
          ],
          "repo": "https://github.com/strukturag/libheif",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4rv4-953r-p24q"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-401"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142494.json"
  },
  "details": "libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::get_next_sample_raw_data() that allows attackers to exhaust process memory by supplying a crafted HEIF image sequence. Attackers can trigger error paths via 'saiz'/'saio' auxiliary data or TAI timestamps, or oversized 'stsz' samples, leaking sample copies or aborting the process through uncaught std::bad_alloc.",
  "id": "CVE-2026-142494",
  "modified": "2026-12-02T18:45:19.349448476Z",
  "published": "2026-12-02T17:42:34.193Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142494.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/strukturag/libheif"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266"
    },
    {
      "type": "FIX",
      "url": "https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/strukturag/libheif/releases/tag/v1.23.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142494"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API"
}