ImageMagick: Out-of-Bounds Read in connected components when the user supplies an invalid keep-top define
CVE-2026-45359
5.7MEDIUM
What is CVE-2026-45359?
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 Version(s)
ImageMagick < 6.9.13-48 < 6.9.13-48
ImageMagick < 7.1.2-22 < 7.1.2-22