CVE-2026-140356: ImageMagick before 7.1.2-36 Heap Buffer Over-Read via Stream Operation
ImageMagick 7.x before 7.1.2-36 and 6.x before 6.9.13-61 contain a heap buffer over-read in a specific stream operation, where an integer overflow can cause reads past the end of an allocated heap buffer. A local attacker who supplies input processed through this stream operation can crash the application or disclose adjacent heap memory.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Affected releases are ImageMagick 7.x before 7.1.2-36 and ImageMagick 6.x before 6.9.13-61. The issue is triggered only when input is processed through the affected stream operation.
What does an attacker need to exploit this issue?
The attacker needs local access and must be able to supply input that the application processes through the specific affected stream operation. No privileges or user interaction are required according to the provided vector.
What could successful exploitation cause?
Successful exploitation can crash the application or disclose memory adjacent to the allocated heap buffer. The stated impacts are low confidentiality impact and low availability impact, with no integrity impact.
What should be done if the affected stream operation cannot be patched immediately?
The provided data does not identify a configuration workaround. Limit untrusted local input from being processed through the affected stream operation until upgrading to 7.1.2-36 or later for 7.x, or 6.9.13-61 or later for 6.x.