CVE-2026-28494 PUBLISHED

ImageMagick affected by stack corruption through long morphology kernel names or arrays

Assigner: GitHub_M
Reserved: 27.02.2026 Published: 09.03.2026 Updated: 09.03.2026

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a stack buffer overflow exists in ImageMagick's morphology kernel parsing functions. User-controlled kernel strings exceeding a buffer are copied into fixed-size stack buffers via memcpy without bounds checking, resulting in stack corruption. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS Score: 7.1

Product Status

Vendor ImageMagick
Product ImageMagick
Versions
  • Version >= 7.0.0, < 7.1.2-16 is affected
  • Version < 6.9.13-41 is affected

References

Problem Types

  • CWE-121: Stack-based Buffer Overflow CWE