CVE-2026-102635: ImageMagick before 7.1.2-32 and 6.9.13-57 Uninitialized Heap Memory Disclosure in GIF Decoder
ImageMagick versions before 7.1.2-32 and 6.9.13-57 contain uninitialized heap memory disclosure in the GIF decoder's application extension handler in coders/gif.c. Attackers can craft malicious GIF files that cause the number parser to read uninitialized heap memory and store contents as image metadata, disclosing sensitive heap information.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ImageMagickto a version that resolves this vulnerability.Fixed in 7.1.2-32 - Upgrade
Upgrade
ImageMagickto a version that resolves this vulnerability.Fixed in 6.9.13-57
Event History
Frequently Asked Questions
Which ImageMagick versions are affected?
ImageMagick releases earlier than 7.1.2-32 and 6.9.13-57 are affected. Updating to 7.1.2-32 or later in the 7.x line, or 6.9.13-57 or later in the 6.x line, addresses the issue.
What does an attacker need to exploit this issue?
An attacker needs to provide a specially crafted GIF file that is processed by the affected GIF decoder. The malformed application extension can cause the number parser to read uninitialized heap memory and save its contents in image metadata.
What is the impact if exploitation succeeds?
Successful exploitation can disclose sensitive information from heap memory through image metadata. The provided vector indicates network reachability, no required privileges or user interaction, and low confidentiality impact, with no integrity or availability impact.