{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7.1.2-15"
              },
              {
                "introduced": "7.0.0-0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b5fdb90dac0e6d0bf1bbd95704bbd60216a5bc23"
            }
          ],
          "repo": "https://github.com/imagemagick/imagemagick",
          "type": "GIT"
        },
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.9.13-40"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1a7a0276812cfdaac05cf88b811091ba2ff957f9"
            }
          ],
          "repo": "https://github.com/imagemagick/imagemagick6",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gq5v-qf8q-fp77"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56362.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "6.9.13-40"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "ImageMagick before 7.1.2-15 contains a heap-buffer-overflow read vulnerability in GetPixelIndex caused by OpenPixelCache updating image channel metadata before pixel cache memory allocation. Attackers can trigger memory and disk allocation failures to cause a heap-buffer-overflow read affecting any writer calling GetPixelIndex.",
  "id": "CVE-2026-56362",
  "modified": "2026-07-12T03:55:02.189959309Z",
  "published": "2026-07-08T13:49:04.142Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56362.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gq5v-qf8q-fp77"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56362"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/imagemagick-heap-buffer-overflow-read-in-getpixelindex-via-openpixelcache-metadata-desynchronization"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ImageMagick - Heap-buffer-overflow Read in GetPixelIndex via OpenPixelCache Metadata Desynchronization"
}