{
  "id": "CVE-2026-25794",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25794",
  "published_at": "2026-02-24T00:53:23.396Z",
  "title": "ImageMagick has heap-buffer-overflow via signed integer overflow in `WriteUHDRImage` when writing UHDR images with large dimensions",
  "vendor": "ImageMagick",
  "product": "ImageMagick",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ImageMagick",
        "product": "ImageMagick",
        "ranges": [
          "\u003c 7.1.2-15"
        ],
        "fixed_in": [
          "7.1.2-15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ImageMagick to 7.1.2-15 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vhqj-f5cj-9x8h"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
