Version: ImageMagick 7.0.7-1 Q16 x86_64 #./convert $FILE /dev/null
When convert tiff file , imagemagick will allocate memory to store the data, here is the critical code:
(tiff.c , in function ReadTIFFImage)
The "rows" can be got from tiff file,that is to say it can be controlled by input file.Here is my policy.xml to limit memory usage,but 256MB limit can be bypassed.
Version: ImageMagick 7.0.7-1 Q16 x86_64
#./convert $FILE /dev/nullWhen convert tiff file , imagemagick will allocate memory to store the data, here is the critical code:
(tiff.c , in function ReadTIFFImage)
The "rows" can be got from tiff file,that is to say it can be controlled by input file.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_ReadTIFFImage_1934
Credit:ADLab of Venustech
The text was updated successfully, but these errors were encountered: