CVE-2026-61857
JSON

6.3medium

ImageMagick before 7.1.2-26 Heap Use-After-Free via XMP

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-qh5g-q395-cx4j

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.

Affected

Product or packageVersionsReported by
ImageMagick ImageMagickfrom 7.0.0 before 7.1.2-26, before 6.9.13-51, from 7.0.0-0 before 7.1.2-26
Not affected: 7.1.2-26, 6.9.13-51
CVE List, NVD
Magick.NET-Q16-AnyCPU (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-AnyCPU (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-HDRI-x86 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-arm64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-OpenMP-x64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-arm64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-x64 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q16-x86 (NuGet)before 14.15.0GitHub Advisory Database
Magick.NET-Q8-AnyCPU (NuGet)before 14.15.0GitHub Advisory Database

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-252CWE-400CWE-416CWE-476CWE-703

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Because of a missing null check when parsing an XMP profile a use after free will happen that might result in a crash.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-61857 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-qh5g-q395-cx4j changed 2026-07-24CC-BY-4.0
NVDCVE-2026-61857 changed 2026-10-29Public domain