CVE-2026-130664: ImageMagick before 7.1.2-35 Heap Buffer Overflow via stream Operation
ImageMagick before 7.1.2-35 contains a heap buffer overflow vulnerability that allows attackers to write beyond allocated heap memory by supplying crafted images. Attackers can provide a crafted set of images processed by the magick stream operation to corrupt heap memory and crash the application.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using ImageMagick versions before 7.1.2-35 are affected when they process attacker-supplied image sets through the magick stream operation.
What does an attacker need to trigger the vulnerability?
An attacker needs to provide a crafted set of images that the application processes with the magick stream operation. The supplied CVSS vector indicates local attack access and user interaction are required, while no privileges are required.
How can I determine whether my environment needs remediation?
Identify the installed ImageMagick version and determine whether any image-processing workflow invokes the magick stream operation on untrusted or externally supplied images. Versions before 7.1.2-35 should be treated as affected.
What is the recommended remediation?
Upgrade ImageMagick to version 7.1.2-35 or later. Until upgrading is possible, avoid processing untrusted image sets with the magick stream operation.