GraphicsMagick
cpe:2.3:a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*
- < 1.3.46
A vulnerability in the ReadWPGImage function of GraphicsMagick, prior to version 1.3.46, allows for out-of-bounds heap memory access. This issue arises from improper handling of palette buffer allocation, which can lead to memory corruption.
Exploitation of this vulnerability causes a heap-based buffer overflow, which can potentially be exploited to execute arbitrary code.
The vulnerability can be reproduced by using GraphicsMagick versions prior to 1.3.46 to process a WPG file that triggers the palette buffer allocation issue. This can be done by creating or obtaining a WPG file that is known to cause the ReadWPGImage function to mishandle palette data, such as one with an unusual color palette or image dimensions that exceed typical limits.
Users are advised to update to GraphicsMagick version 1.3.46 or later, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.