{
  "id": "CVE-2026-33908",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33908",
  "published_at": "2026-04-13T21:06:42.682Z",
  "title": "ImageMagick is vulnerable to Stack Overflow in DestroyXMLTree()",
  "vendor": "ImageMagick",
  "product": "ImageMagick",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, Magick frees the memory of the XML tree via the `DestroyXMLTree()` function; however, this process is executed recursively with no depth limit imposed. When Magick processes an XML file with deeply nested structures, it will exhaust the stack memory, resulting in a Denial of Service (DoS) attack. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.",
  "cwe": "CWE-674",
  "cpes": [
    "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ImageMagick",
        "product": "ImageMagick",
        "ranges": [
          "\u003c 6.9.13-44",
          "\u003c 7.1.2-19"
        ],
        "fixed_in": [
          "6.9.13-44",
          "7.1.2-19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ImageMagick to 6.9.13-44 or 7.1.2-19 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-fwvm-ggf6-2p4x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ImageMagick/ImageMagick/commit/ccdc01180276aa2cb3d4a32a611aa4f417061cd8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
