Red Hat Bugzilla – Bug 1598471
CVE-2018-13153 ImageMagick: memory leak in the XMagickCommand function in MagickCore/animate.c
Last modified: 2018-07-19 11:21:36 EDT
A flaw was found in ImageMagick 7.0.8-4, there is a memory leak in the XMagickCommand function in MagickCore/animate.c. References: https://github.com/ImageMagick/ImageMagick/issues/1195 Upstream Patch: https://github.com/ImageMagick/ImageMagick/commit/4ab4849d667e26df0e63ece9d63ae23bc7ab0fa1 https://github.com/ImageMagick/ImageMagick6/commit/6ce6d25b47caf9b6b2979a510b6202ce0f3dd2d4
Created ImageMagick tracking bugs for this issue: Affects: fedora-all [bug 1598472]
A memory leak is present in magick/animate.c:XMagickCommand, where the memory for an array of strings, named `filelist`, is allocated but not correctly released in case the function ExpandFilenames return an error code.