Stack Buffer Overflow in ImageMagick Affects Digital Image Manipulation
CVE-2026-28494
7.1HIGH
What is CVE-2026-28494?
ImageMagick, the popular open-source software utilized for editing and manipulating digital images, is affected by a stack buffer overflow vulnerability in its morphology kernel parsing functions. This issue arises when user-controlled kernel strings exceed allocated buffer sizes, leading to potential stack corruption due to unsafe copying via memcpy without adequate bounds checking. Users should upgrade to ImageMagick versions 7.1.2-16 or 6.9.13-41 to mitigate this risk.
Affected Version(s)
ImageMagick >= 7.0.0, < 7.1.2-16 < 7.0.0, 7.1.2-16
ImageMagick < 6.9.13-41 < 6.9.13-41