Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak in AcquireImage() #631

Closed
k0keoyo opened this issue Jul 30, 2017 · 3 comments
Closed

Memory Leak in AcquireImage() #631

k0keoyo opened this issue Jul 30, 2017 · 3 comments
Labels

Comments

@k0keoyo
Copy link

k0keoyo commented Jul 30, 2017

PoC URL: https://github.com/k0keoyo/im_poc/blob/master/Memory-Leak-13_output_picon_1501390784.98
Trigger Command: ./magick convert Memory-Leak-13_output_picon_1501390784.98 output.picon
Version:ImageMagick 7.0.6-4 Q16 x86_64 2017-07-29
Crash Detail:

==7270==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 13488 byte(s) in 1 object(s) allocated from:
#0 0x7f0029d5a9aa in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x989aa)
#1 0x7f00292d5cb5 in AcquireImage MagickCore/image.c:169

@mikayla-grace
Copy link

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.

@bastien-roucaries
Copy link

please open CVE

@bastien-roucaries
Copy link

CVE-2017-11751

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants