{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7.1.2-22"
              },
              {
                "introduced": "7.0.0-0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ccf56fb3edd41389a02e4fe7a1a11a18f2b13389"
            }
          ],
          "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-48"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4b4deff096a37cca1d4e648e609b440fdf50072b"
            }
          ],
          "repo": "https://github.com/imagemagick/imagemagick6",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vhrh-72hq-w8m7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125",
      "CWE-129"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45359.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "6.9.13-48"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-22, an invalid connected-components:keep-top value could result in a heap buffer over-read when performing the connected components operation. This issue has been patched in versions 6.9.13-48 and 7.1.2-22.",
  "id": "CVE-2026-45359",
  "modified": "2026-07-25T03:56:19.014267761Z",
  "published": "2026-06-10T21:26:32.829Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45359.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-45359"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45359.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vhrh-72hq-w8m7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45359"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2487737"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define"
}