What’s Vulnerable › Vulnerabilities

CVE-2026-56362: ImageMagick - Heap-buffer-overflow Read in GetPixelIndex via OpenPixelCache Metadata Desynchronization

Description

ImageMagick before 7.1.2-15 contains a heap-buffer-overflow read vulnerability in GetPixelIndex caused by OpenPixelCache updating image channel metadata before pixel cache memory allocation. Attackers can trigger memory and disk allocation failures to cause a heap-buffer-overflow read affecting any writer calling GetPixelIndex.

Affected products

How to fix

Upgrade to a fixed version: ImageMagick 6.9.13-40, 7.1.2-15; ImageMagick 7.1.2-15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56362 or the next vulnerability affects your stack