Use-after-free vulnerability in the DestroyImage function in image.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2017/08/16/2 | mailing list third party advisory patch |
https://www.debian.org/security/2017/dsa-4040 | third party advisory vendor advisory |
https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890 | issue tracking third party advisory patch |
https://usn.ubuntu.com/3681-1/ | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201711-07 | third party advisory vendor advisory |
https://www.debian.org/security/2017/dsa-4074 | third party advisory vendor advisory |
https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/ | vdb entry third party advisory patch |