CVE-2017-12935

NameCVE-2017-12935
DescriptionThe ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1082-1
NVD severitymedium (attack range: remote)
Debian Bugs872576

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)wheezy1.3.16-1.1vulnerable
wheezy (security)1.3.16-1.1+deb7u15fixed
jessie1.3.20-3+deb8u1vulnerable
jessie (security)1.3.20-3+deb8u2vulnerable
stretch1.3.25-8vulnerable
buster, sid1.3.26-19fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksource(unstable)1.3.26-6medium872576
graphicsmagicksourcewheezy1.3.16-1.1+deb7u9mediumDLA-1082-1

Notes

http://www.openwall.com/lists/oss-security/2017/08/18/4
Fixed by: http://hg.code.sf.net/p/graphicsmagick/code/rev/cd699a44f188

Search for package or bug name: Reporting problems