What’s Vulnerable › Vulnerabilities

CVE-2026-56370: ImageMagick - Out-of-bounds Access in ConnectedComponentsImage via connected-components Artifact

Description

ImageMagick before 7.1.2-19 contains an out-of-bounds access vulnerability in ConnectedComponentsImage() when processing connected-components artifacts with invalid indices. Attackers can trigger access violations by specifying malformed connected-components definitions via CLI, causing denial of service or potential code execution.

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-56370 or the next vulnerability affects your stack