{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.22.0"
                  },
                  {
                    "fixed": "1.23.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "858398f9654113b5b049beb8f2855a8e291fde19"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.23.6",
                "range": [
                  {
                    "fixed": "f81f28ac014b1c28dee483ac45b72c6b05bc421a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0c81a846b7401dbdb7118afd0761057f21e43511"
            },
            {
              "fixed": "f81f28ac014b1c28dee483ac45b72c6b05bc421a"
            },
            {
              "fixed": "858398f9654113b5b049beb8f2855a8e291fde19"
            }
          ],
          "repo": "https://github.com/strukturag/libheif",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3gwx-cjv4-jr74"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-617"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142503.json"
  },
  "details": "libheif 1.22.0 before 1.23.6 contains a reachable assertion in ImageItem_Grid::decode_and_paste_tile_image() that allows attackers to crash applications by supplying grid images with oversized alpha planes. Attackers can craft a HEIF file containing a grid of uncompressed (unci) tiles with a 64-bit alpha component to terminate the decoding application or trigger an undefined shift.",
  "id": "CVE-2026-142503",
  "modified": "2026-12-02T18:45:29.244054437Z",
  "published": "2026-12-02T17:42:24.397Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142503.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/strukturag/libheif"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/strukturag/libheif/blob/v1.23.5/libheif/image-items/grid.cc#L566-L570"
    },
    {
      "type": "FIX",
      "url": "https://github.com/strukturag/libheif/commit/858398f9654113b5b049beb8f2855a8e291fde19"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/strukturag/libheif/releases/tag/v1.23.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/strukturag/libheif/security/advisories/GHSA-3gwx-cjv4-jr74"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142503"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.6-reachable-assertion-dos-via-grid-image-alpha-plane"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libheif 1.22.0 before 1.23.6 Reachable Assertion DoS via Grid Image Alpha Plane"
}