Closed
Description
PoC Link : https://github.com/EazyLov3/FuzzPoC/blob/master/ImageMagick/Memory-Leak-1_output_fpx_1501588084.95
Trigger Command : ./magick convert Memory-Leak-1_output_fpx_1501588084.95 output.fpx
Detail:
ubuntu@ubuntu ~/I/utilities> ./magick convert Memory-Leak-1_output_fpx_1501588084.95 output.fpx
convert: UnableToOpenConfigureFile `magic.xml' @ warning/configure.c/GetConfigureOptions/715.
convert: UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/715.
=================================================================
==4741==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 4096 byte(s) in 1 object(s) allocated from:
#0 0x4c0cbc in malloc /home/snd-local/releases/4.0.1/release/final/llvm.src/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:66:3
#1 0x7fd4757e2cbb in format8BIM /home/ubuntu/ImageMagick/coders/meta.c:2149:33
#2 0x7fd4757e2cbb in WriteMETAImage /home/ubuntu/ImageMagick/coders/meta.c:2300
#3 0x7fd475254a9e in WriteImage /home/ubuntu/ImageMagick/MagickCore/constitute.c:1183:22
#4 0x7fd4752555bd in WriteImages /home/ubuntu/ImageMagick/MagickCore/constitute.c:1333:13
#5 0x7fd474a99f01 in ConvertImageCommand /home/ubuntu/ImageMagick/MagickWand/convert.c:3280:11
#6 0x7fd474b59e0f in MagickCommandGenesis /home/ubuntu/ImageMagick/MagickWand/mogrify.c:183:14
#7 0x4edef7 in MagickMain /home/ubuntu/ImageMagick/utilities/magick.c:149:10
#8 0x4edef7 in main /home/ubuntu/ImageMagick/utilities/magick.c:180
#9 0x7fd4735d282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)