CVE-2026-140372: ImageMagick before 7.1.2-36 Heap Buffer Over-Read via HEIC Decoder
ImageMagick before 7.1.2-36 contains a heap buffer over-read vulnerability in the HEIC decoder that allows attackers to read beyond allocated memory by supplying crafted images. Attackers can provide a malicious HEIC file for processing to crash the application or disclose adjacent heap memory contents.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
ImageMagick versions before 7.1.2-36 are affected when they process HEIC images through the HEIC decoder. Systems that do not process attacker-supplied HEIC files are not described as directly exposed by the available information.
What does an attacker need to exploit this issue?
An attacker needs to supply a crafted HEIC image for ImageMagick to process. The listed vector indicates network exploitation requires no privileges or user interaction, but successful exploitation depends on the application accepting and processing the malicious file.
What can happen if exploitation succeeds?
Processing the crafted image can cause an application crash or disclose adjacent heap memory contents. The provided severity vector indicates low confidentiality impact and no integrity or availability impact.
What should be done if an update cannot be applied immediately?
Avoid processing untrusted HEIC files until ImageMagick can be updated to 7.1.2-36 or later. Restricting HEIC processing reduces the attacker’s ability to supply the crafted input required for exploitation.