{
  "id": "CVE-2025-53101",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-53101",
  "published_at": "2025-07-14T19:51:53.338Z",
  "title": "ImageMagick has Stack Buffer Overflow in image.c",
  "vendor": "ImageMagick",
  "product": "ImageMagick",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's `magick mogrify` command, specifying multiple consecutive `%d` format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through `vsnprintf()`. Versions 7.1.2-0 and 6.9.13-26 fix the issue.",
  "cwe": "CWE-124",
  "cpes": [
    "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.4,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ImageMagick",
        "product": "ImageMagick",
        "ranges": [
          "\u003c 7.1.2-0",
          "\u003c 6.9.13-26"
        ],
        "fixed_in": [
          "7.1.2-0",
          "6.9.13-26"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ImageMagick to 7.1.2-0 or 6.9.13-26 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh3h-j545-h8c9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ImageMagick/ImageMagick/commit/66dc8f51c11b0ae1f1cdeacd381c3e9a4de69774"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
