Description
ImageMagick is a software suite to create, edit, compose, or convert bitmap images. ImageMagick versions prior to 7.1.2-8 are vulnerable to denial-of-service due to unsigned integer underflow and division-by-zero in the CLAHEImage function. When tile width or height is zero, unsigned underflow occurs in pointer arithmetic, leading to out-of-bounds memory access, and division-by-zero causes immediate crashes. This issue has been patched in version 7.1.2-8.
Problem types
CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-191: Integer Underflow (Wrap or Wraparound)
Product status
References
github.com/...Magick/security/advisories/GHSA-wpp4-vqfq-v4hp
github.com/...ommit/7b47fe369eda90483402fcd3d78fa4167d3bb129