CVE-2017-16352

NameCVE-2017-16352
DescriptionGraphicsMagick 1.3.26 is vulnerable to a heap-based buffer overflow vulnerability found in the "Display visual image directory" feature of the DescribeImage() function of the magick/describe.c file. One possible way to trigger the vulnerability is to run the identify command on a specially crafted MIFF format file with the verbose flag.
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-1159-1, DLA-1456-1, DSA-4321-1
NVD severitymedium (attack range: remote)

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
stretch1.3.25-8vulnerable
stretch (security)1.3.30+hg15796-1~deb9u1fixed
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-17medium
graphicsmagicksourcejessie1.3.20-3+deb8u4mediumDLA-1456-1
graphicsmagicksourcestretch1.3.30+hg15796-1~deb9u1mediumDSA-4321-1
graphicsmagicksourcewheezy1.3.16-1.1+deb7u13mediumDLA-1159-1

Notes

http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset;node=7292230dd185
https://blogs.securiteam.com/index.php/archives/3494

Search for package or bug name: Reporting problems