CVE-2026-140373: ImageMagick before 7.1.2-36 Heap Buffer Overflow in Postscript Decoders
ImageMagick before 7.1.2-36 and 6.x before 6.9.13-61 contains a heap buffer overflow in the PCL, PDF, PS, and XPS decoders that writes past the bounds of a heap buffer when processing crafted input. Attackers can supply a crafted image for decoding to corrupt heap memory, causing crashes or limited data integrity impact.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using ImageMagick versions before 7.1.2-36, or 6.x versions before 6.9.13-61, are affected when they decode PCL, PDF, PS, or XPS input.
What does an attacker need to exploit the vulnerability?
An attacker needs to provide a crafted image or document that the affected ImageMagick instance processes through one of the vulnerable decoders. No authentication or user interaction is required according to the supplied vector.
What is the likely operational impact?
Processing malicious input can corrupt heap memory, leading to crashes and limited integrity impact. The provided information does not indicate confidentiality impact.
How can I determine whether my environment is affected?
Check the installed ImageMagick version and whether the environment decodes PCL, PDF, PS, or XPS files. Versions earlier than the stated fixed releases should be treated as affected for those decoding paths.