A memory leak vulnerability was found in function ReadOneMNGImage ,which allow attackers to cause a denial of service (memory leak) via a crafted file.
=================================================================
==101092==ERROR: detected memory leaks
Direct leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x4eb9c6 in __interceptor_malloc /home/test/Downloads/llvm-clang/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:66
#1 0xbf97fc in ReadOneMNGImage /home/test/Downloads/IM-afl/ImageMagick-master/coders/png.c:5299:37
#2 0xbd68b6 in ReadMNGImage /home/test/Downloads/IM-afl/ImageMagick-master/coders/png.c:7560:9
SUMMARY: 64 byte(s) leaked in 1 allocation(s).
Version: ImageMagick 7.0.6-3 Q16 x86_64
A memory leak vulnerability was found in function ReadOneMNGImage ,which allow attackers to cause a denial of service (memory leak) via a crafted file.
testcase:https://github.com/bestshow/p0cs/blob/master/memory_leak_in_ReadOneMNGImage_2.mng
Credit:ADLab of Venustech
The text was updated successfully, but these errors were encountered: