CVE-2026-130668: ImageMagick before 7.1.2-35 Double Free via DPC Compare Metric
ImageMagick before 7.1.2-35 contains a double free vulnerability that allows attackers to trigger an invalid memory free by using the DPC compare metric. Attackers can supply images for comparison with the DPC metric to corrupt memory and crash the application, causing denial of service.
Affected Software
Event History
Frequently Asked Questions
Which environments are exposed to this issue?
ImageMagick installations before 7.1.2-35 are affected when they perform image comparisons using the DPC metric. Workflows that allow an attacker to supply images for such comparisons are exposed to the denial-of-service risk.
What does an attacker need to exploit it?
The attacker must be able to provide images that are processed in an ImageMagick comparison using the DPC metric. Exploitation requires local access, high attack complexity, and user interaction according to the supplied vector.
What can be done if an upgrade cannot be applied immediately?
Avoid using the DPC compare metric, particularly for comparisons involving attacker-supplied images. Restrict or suspend untrusted image-comparison workflows until ImageMagick can be updated to 7.1.2-35 or later.
How can I determine whether my deployment is affected?
Check the installed ImageMagick version and whether application workflows invoke image comparison with the DPC metric. Versions earlier than 7.1.2-35 should be treated as affected when that metric is used.