in SetImageExtent() of /MagickCore/image.c, an incorrect image depth size can cause a memory leak because the code which checks for the proper image depth size does not reset the size in the event there is an invalid size. The patch resets the depth to a proper size before throwing an exception. The memory leak can be triggered by a crafted input file that is processed by ImageMagick and could cause an impact to application reliability, such as denial of service. This flaw affects ImageMagick versions prior to 7.0.9-0.
The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Imagemagick | Imagemagick | * | 6.9.10-69 (excluding) |
Imagemagick | Imagemagick | 7.0.0-0 (including) | 7.0.9-0 (excluding) |
Imagemagick | Ubuntu | bionic | * |
Imagemagick | Ubuntu | esm-infra/xenial | * |
Imagemagick | Ubuntu | focal | * |
Imagemagick | Ubuntu | groovy | * |
Imagemagick | Ubuntu | trusty | * |
Imagemagick | Ubuntu | trusty/esm | * |
Imagemagick | Ubuntu | upstream | * |
Imagemagick | Ubuntu | xenial | * |