In coders/xbm.c in ImageMagick 7.0.6-1 Q16, a DoS in ReadXBMImage() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted XBM file, which claims large rows and columns fields in the header but does not contain sufficient backing data, is provided, the loop over the rows would consume huge CPU resources, since there is no EOF check inside the loop.
The product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Imagemagick | Imagemagick | 7.0.6-1 (including) | 7.0.6-1 (including) |
Imagemagick | Ubuntu | artful | * |
Imagemagick | Ubuntu | bionic | * |
Imagemagick | Ubuntu | devel | * |
Imagemagick | Ubuntu | trusty | * |
Imagemagick | Ubuntu | upstream | * |
Imagemagick | Ubuntu | xenial | * |
Imagemagick | Ubuntu | zesty | * |