You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: ImageMagick 7.0.6-1 Q16 x86_64
#./magick identify $FILE
When identify PCX file , imagemagick will allocate memory to store the data.
Here is the critical code:
Version: ImageMagick 7.0.6-1 Q16 x86_64
#./magick identify $FILE
When identify PCX file , imagemagick will allocate memory to store the data.
Here is the critical code:
pixel_info=AcquireVirtualMemory(pcx_packets,2*sizeof(*pixels)); //406
pcx_packets can be controlled as follow:
pcx_info.planes can be read from input file
pcx_info.planes=(unsigned char) ReadBlobByte(image); //358
Here is my policy.xml to limit memory usage,but 256MB limit can be bypassed.
testcase:https://github.com/bestshow/p0cs/blob/master/memory_exhaustion_in_ReadPCXImage
Creadit : ADLab of Venustech
The text was updated successfully, but these errors were encountered: