ImageMagick
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*
- < 7.1.2-15
- < 6.9.13-40
A heap 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 YUV 4:2:2 (NoInterlace) image processing within the ReadYUVImage() function in coders/yuv.c. The vulnerability allows for a write operation that exceeds the allocated buffer size, potentially leading to memory corruption.
Exploitation of this vulnerability causes a heap buffer overflow, which can commonly lead to memory corruption and possibly arbitrary code execution.
The vulnerability can be reproduced by processing a malicious YUV 4:2:2 (NoInterlace) image with an affected version of ImageMagick. The image should be crafted to exploit the pixel-pair loop in the YUV decoder, causing it to write beyond the allocated row buffer.
Users should 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.