Related Vulnerabilities: CVE-2017-12935  

The ReadMNGImage function in coders/png.c in GraphicsMagick before 1.3.27 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.

Severity High

Remote Yes

Type Arbitrary code execution

Description

The ReadMNGImage function in coders/png.c in GraphicsMagick before 1.3.27 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.

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://marc.info/?l=oss-security&m=150306448426399
https://blogs.gentoo.org/ago/2017/08/05/graphicsmagick-invalid-memory-read-in-setimagecolorcallback-image-c/
http://hg.code.sf.net/p/graphicsmagick/code/rev/cd699a44f188