CVE-2026-140358: ImageMagick before 7.1.2-36 Heap Buffer Over-Read and Null Pointer Dereference in Draw
ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-read and a NULL pointer dereference in its draw operations. A user able to invoke specific draw operations can cause ImageMagick to read beyond a heap buffer or dereference a NULL pointer, resulting in a crash or disclosure of memory contents.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
ImageMagick 6 releases before 6.9.13-61 and 7.x releases before 7.1.2-36 are affected. Deployments using either of those version ranges should be considered exposed if users can invoke draw operations.
What must an attacker be able to do to exploit this issue?
An attacker must be able to invoke specific ImageMagick draw operations and provide input that reaches those operations. The supplied CVSS vector indicates local attack vector, high attack complexity, no privileges required, and user interaction required.
What can exploitation cause?
The issue can cause a crash through a NULL pointer dereference or expose memory contents through a heap buffer over-read. The provided severity data also indicates potential low impact to confidentiality, integrity, and availability.