Related Vulnerabilities: CVE-2017-11403  

The ReadMNGImage function in coders/png.c in GraphicsMagick before 1.3.27 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.

Severity High

Remote Yes

Type Arbitrary code execution

Description

The ReadMNGImage function in coders/png.c in GraphicsMagick before 1.3.27 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.

AVG-355 graphicsmagick 1.3.26-3 1.3.27-1 High Fixed

08 Jan 2018 ASA-201801-7 AVG-355 graphicsmagick High multiple issues

https://blogs.gentoo.org/ago/2017/07/12/graphicsmagick-use-after-free-in-closeblob-blob-c/
http://hg.code.sf.net/p/graphicsmagick/code/rev/d0a76868ca37