ImageMagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*
- < 7.1.2-15
- < 6.9.13-40
A logic error in YUV sampling factor validation in ImageMagick allows an invalid sampling factor to bypass checks, triggering a division-by-zero error during image loading. This vulnerability, present in versions prior to 7.1.2-15 and 6.9.13-40, results in a reliable denial-of-service. The division-by-zero error can be exploited to cause a crash, as demonstrated by AddressSanitizer, which reported a runtime error and a deadly signal due to the unknown signal on an unknown address, indicating a crash caused by the division-by-zero error.
Exploitation of this vulnerability leads to a division-by-zero error, causing a crash and a denial-of-service condition.
The vulnerability can be reproduced by loading an image with an invalid YUV sampling factor in a version of ImageMagick prior to the patched releases. The 'magick' command-line utility can be used to process the image, which will trigger the vulnerability and cause the application to crash.
Users can upgrade to ImageMagick versions 7.1.2-15 or 6.9.13-40, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.