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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1159-1, DLA-1456-1, DSA-4321-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)jessie, jessie (lts)1.3.20-3+deb8u14fixed
stretch (security)1.3.30+hg15796-1~deb9u5fixed
stretch (lts), stretch1.3.30+hg15796-1~deb9u7fixed
buster (security), buster, buster (lts)1.4+really1.3.35-1~deb10u3fixed
bullseye (security), bullseye1.4+really1.3.36+hg16481-2+deb11u1fixed
bookworm1.4+really1.3.40-4fixed
sid, trixie1.4+really1.3.45-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksourcewheezy1.3.16-1.1+deb7u13DLA-1159-1
graphicsmagicksourcejessie1.3.20-3+deb8u4DLA-1456-1
graphicsmagicksourcestretch1.3.30+hg15796-1~deb9u1DSA-4321-1
graphicsmagicksource(unstable)1.3.26-17

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