CVE-2017-15277

NameCVE-2017-15277
DescriptionReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when processing a GIF file that has neither a global nor local palette. If the affected product is used as a library loaded into a process that operates on interesting data, this data sometimes can be leaked via the uninitialized palette.
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-1139-1, DLA-1140-1, DLA-1456-1, DSA-4032-1, DSA-4040-1
NVD severitymedium (attack range: remote)
Debian Bugs878578

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
buster, sid1.3.30-1fixed
imagemagick (PTS)jessie8:6.8.9.9-5+deb8u12fixed
jessie (security)8:6.8.9.9-5+deb8u13fixed
stretch8:6.9.7.4+dfsg-11+deb9u3fixed
stretch (security)8:6.9.7.4+dfsg-11+deb9u5fixed
buster, sid8:6.9.10.8+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksource(unstable)1.3.26-14medium
graphicsmagicksourcejessie1.3.20-3+deb8u4mediumDLA-1456-1
graphicsmagicksourcewheezy1.3.16-1.1+deb7u11mediumDLA-1140-1
imagemagicksource(unstable)8:6.9.9.34+dfsg-3medium878578
imagemagicksourcejessie8:6.8.9.9-5+deb8u11mediumDSA-4040-1
imagemagicksourcestretch8:6.9.7.4+dfsg-11+deb9u3mediumDSA-4032-1
imagemagicksourcewheezy8:6.7.7.10-5+deb7u18mediumDLA-1139-1

Notes

IM6: https://github.com/ImageMagick/ImageMagick/commit/10aae21bf9dac47e16d8fcde7eba7f7f9d1e52f8
https://github.com/ImageMagick/ImageMagick/issues/592
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/923c4a525c99
https://github.com/neex/gifoeb

Search for package or bug name: Reporting problems