Description
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.
Published: 2026-07-11
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

ImageMagick versions prior to 7.1.2-26 contain a heap use‑after‑free flaw caused by a missing null check when parsing XMP profiles. This issue exemplifies CWE-476 (null pointer dereference) and CWE-252 (unchecked return value). A crafted XMP payload can trigger the bug, leading the image‑processing engine to crash and terminate the process. The vulnerability does not expose data or allow code execution, but it can be used to disrupt availability of services that rely on ImageMagick for image handling.

Affected Systems

The affected vendor is ImageMagick; product ImageMagick. All installations running any version earlier than 7.1.2-26 are potentially impacted. Updated releases beginning with 7.1.2-26 contain the fix.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity, and the EPSS score is <1%, indicating a very low probability of exploitation. The flaw is not listed in the CISA KEV catalog. Because the description mentions the manipulation of an image file, the likely attack vector is through files that an application accepts for processing—either a local file upload or remote image download. Exploitation would simply crash the image‑processing process, possibly causing a denial of service to a web application, media server, or other service that relies on ImageMagick.

Generated by OpenCVE AI on July 29, 2026 at 09:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2-26 or later to eliminate the use‑after‑free bug, which mitigates CWE-476 and CWE-252.
  • If an upgrade cannot be performed immediately, configure the image‑processing pipeline to reject or strip XMP metadata before parsing any image files, preventing the trigger of null pointer dereference (CWE-476).
  • Implement monitoring for unexpected crashes or abnormal resource usage that may indicate attempted exploitation of the XMP handling code.

Generated by OpenCVE AI on July 29, 2026 at 09:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4696-1 imagemagick security update
History

Mon, 13 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 12 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 11 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Description 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.
Title ImageMagick before 7.1.2-26 Heap Use-After-Free via XMP
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-252
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Imagemagick Imagemagick
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-13T17:09:23.626Z

Reserved: 2026-07-10T21:53:55.768Z

Link: CVE-2026-61857

cve-icon Vulnrichment

Updated: 2026-07-13T17:09:16.239Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-11T13:01:07Z

Links: CVE-2026-61857 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T09:15:05Z

Weaknesses