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 bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1082-1, DLA-1456-1, DSA-4321-1
NVD severitymedium (attack range: remote)
Debian Bugs872576

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)jessie1.3.20-3+deb8u2vulnerable
jessie (security)1.3.20-3+deb8u4fixed
stretch (security), stretch1.3.30+hg15796-1~deb9u2fixed
buster, sid1.3.30+hg15796-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksource(unstable)1.3.26-6medium872576
graphicsmagicksourcejessie1.3.20-3+deb8u4mediumDLA-1456-1
graphicsmagicksourcestretch1.3.30+hg15796-1~deb9u1mediumDSA-4321-1
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