---
id: CVE-2026-61857
title: >-
  ImageMagick before 7.1.2-26 contains a heap use-after-free vulnerability
  caused by missing null check when parsing XMP profiles
summary: >-
  ImageMagick before 7.1.2-26 contains a heap use-after-free vulnerability
  caused by missing null check when parsing XMP profiles. Attackers can craft
  malicious image files with specially crafted XMP data to trigger the
  vulnerability and c…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-252
published: '2026-07-11'
updated: '2026-07-11'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61857'
references:
  - url: >-
      https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qh5g-q395-cx4j
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/imagemagick-before-26-heap-use-after-free-via-xmp
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-07-11T23:16:21.462Z'
epss: 0.00455
epssPercentile: 0.36881
---

## Overview

ImageMagick before 7.1.2-26 contains a heap use-after-free vulnerability caused by missing null check when parsing XMP profiles. Attackers can craft malicious image files with specially crafted XMP data to trigger the vulnerability and cause application crashes.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
