{
  "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-2gq3-ww97-wfjm"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56376.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "6.9.13-40"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory allocation fails, a single byte is written to a stale pointer. Remote attackers can trigger it by processing specially crafted image files, causing a denial of service.",
  "id": "CVE-2026-56376",
  "modified": "2026-07-08T05:39:31.142579920Z",
  "published": "2026-06-23T12:13:04.795Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56376.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-2gq3-ww97-wfjm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56376"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/imagemagick-heap-use-after-free-in-meta-coder"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ImageMagick - Heap Use-After-Free in Meta Coder"
}