What’s Vulnerable › Vulnerabilities

CVE-2026-45359: ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-22, an invalid connected-components:keep-top value could result in a heap buffer over-read when performing the connected components operation. This issue has been patched in versions 6.9.13-48 and 7.1.2-22.

Affected products

How to fix

Upgrade to a fixed version: ImageMagick 6.9.13-48, 7.1.2-22. Check the vendor advisory for mitigations.

References

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