{
  "schema_version": "1.6.7",
  "id": "PRECVE-2026-6507761F",
  "modified": "2026-11-12T18:12:09Z",
  "published": "2026-11-12T18:12:09Z",
  "summary": "Multiple arbitrary file read and write vulnerabilities exist in ImageMagick when processing crafted SVG or PostScript content with insufficiently restrictive security policies, potentially leading to arbitrary code execution.",
  "details": "ImageMagick's SVG processing can invoke dangerous coders via crafted SVG <image> elements referencing MSL scripts, enabling unauthorized file access. Additionally, content-based detection may invoke Ghostscript to process crafted PostScript files, allowing read/write access within /tmp. These vulnerabilities arise from default or insufficiently restrictive security policies permitting dangerous coders or delegates. Exploitation requires attacker-controlled image content processing and may lead to confidentiality, integrity, and availability compromises, including arbitrary code execution.",
  "aliases": [
    "CVE-2026-65640",
    "VU#580079"
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Generic",
        "name": "imagemagick",
        "purl": "pkg:generic/imagemagick"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "database_specific": {
        "zerobom": {
          "evidence_quotes": [
            "Multiple arbitrary file read and write vulnerabilities have been identified in applications that use ImageMagick with insufficiently restrictive security policies. Collectively referred to as ImageTragick2, these issues arise when ImageMagick processes attacker-controlled SVG or PostScript content using dangerous coders or delegates permitted by its default or application-supplied configuration.",
            "ImageMagick's SVG processing can allow a crafted SVG <image> element to invoke a dangerous coder through its xlink:href value, for example, by referencing an MSL: resource. ImageMagick may then interpret the referenced content as a Magick Scripting Language (MSL) script. The script can invoke additional image readers and direct attacker-controlled image data to selected filesystem paths, enabling unauthorized file access.",
            "ImageMagick's content-based format detection may identify crafted input as PostScript and invoke Ghostscript, a separate interpreter used by ImageMagick to handle PostScript, EPS, and PDF, even when the filename or declared type suggests another format. Although Ghostscript is invoked with -dSAFER, the observed configuration permits file access within /tmp. A crafted PostScript file may therefore read or write data in that directory."
          ],
          "grounding_status": "verified",
          "registry_status": "skipped",
          "routing": "triage",
          "aliases": [
            "CVE-2026-65640",
            "VU#580079"
          ]
        }
      }
    }
  ],
  "references": [
    {
      "type": "ARTICLE",
      "url": "https://kb.cert.org/vuls/id/580079"
    },
    {
      "type": "WEB",
      "url": "https://kb.cert.org/vuls/id/580079"
    }
  ],
  "database_specific": {
    "zerobom": {
      "source_tier": "tier_1",
      "source_tier_weight": 1.0,
      "extraction_specificity": 0.7,
      "composite_score": 0.7,
      "routing": "triage",
      "severity": "HIGH",
      "cwe_ids": [],
      "evidence_quotes": [
        "Multiple arbitrary file read and write vulnerabilities have been identified in applications that use ImageMagick with insufficiently restrictive security policies. Collectively referred to as ImageTragick2, these issues arise when ImageMagick processes attacker-controlled SVG or PostScript content using dangerous coders or delegates permitted by its default or application-supplied configuration.",
        "ImageMagick's SVG processing can allow a crafted SVG <image> element to invoke a dangerous coder through its xlink:href value, for example, by referencing an MSL: resource. ImageMagick may then interpret the referenced content as a Magick Scripting Language (MSL) script. The script can invoke additional image readers and direct attacker-controlled image data to selected filesystem paths, enabling unauthorized file access.",
        "ImageMagick's content-based format detection may identify crafted input as PostScript and invoke Ghostscript, a separate interpreter used by ImageMagick to handle PostScript, EPS, and PDF, even when the filename or declared type suggests another format. Although Ghostscript is invoked with -dSAFER, the observed configuration permits file access within /tmp. A crafted PostScript file may therefore read or write data in that directory."
      ],
      "article_type": "vendor_advisory",
      "source_name": "CERT/CC Vulnerability Notes",
      "prompt_version": "v1.5",
      "extractor_model": "gpt-4.1-mini"
    }
  }
}
