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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "6.9.13-51"
}
],
"source": "AFFECTED_FIELD"
}
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61857.json",
"cwe_ids": [
"CWE-252"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "7.1.2-26"
},
{
"introduced": "7.0.0-0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
],
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
}
{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.9.13-51"
}
],
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*"
}