ImageMagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*
- < 7.1.2-15
- < 6.9.13-40
A stack buffer overflow vulnerability has been identified in ImageMagick versions prior to 7.1.2-15 and 6.9.13-40. The issue arises in the 'msl.c' file, where a long value in an attribute overflows a fixed-size stack buffer, leading to memory corruption. This vulnerability has been patched in the mentioned versions.
Exploitation of this vulnerability causes a stack buffer overflow, allowing for out-of-bounds memory writes. Such memory corruption can potentially be exploited to execute arbitrary code.
The vulnerability can be reproduced by processing an image file that contains a specially crafted attribute value. The long value will overflow the stack buffer in 'msl.c', causing a stack buffer overflow error. This can be verified using AddressSanitizer, which will report the stack-buffer-overflow error, indicating that the vulnerability has been successfully exploited.
Users can upgrade to ImageMagick versions 7.1.2-15 or 6.9.13-40 to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.