What’s Vulnerable › Vulnerabilities

CVE-2026-56361: ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing

Description

ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap buffer reads. Attackers can trigger heap buffer overflow by providing incorrect morphology parameters causing single pixel memory access violations.

Affected products

How to fix

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

References

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