Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-15277 EUVD-2017-6737GHSA-844h-5pcp-3xmc

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when processing a GIF file t…

Published Oct 12, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

ReadGIFImage 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 graphicsmagick 1.3.26-14 —
Debian 14 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 13 graphicsmagick 1.3.26-14 —
Debian 13 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 12 graphicsmagick 1.3.26-14 —
Debian 12 imagemagick 8:6.9.9.34+dfsg-3 —
Debian 9 graphicsmagick 1.3.30+hg15796-1~deb9u1 DSA-4321-1
Debian 9 imagemagick 8:6.9.7.4+dfsg-11+deb9u3 DSA-4032-1
Debian 8 graphicsmagick 1.3.20-3+deb8u4 DLA-1456-1
Debian 8 imagemagick 8:6.8.9.9-5+deb8u11 DSA-4040-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 graphicsmagick 1.3.16-1.1+deb7u11 DLA-1140-1
Debian 7 imagemagick 8:6.7.7.10-5+deb7u18 DLA-1139-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.2 USN-3681-1
Ubuntu 16.04 LTS graphicsmagick 1.3.23-1ubuntu0.4 USN-4232-1
Ubuntu 16.04 LTS imagemagick 8:6.8.9.9-7ubuntu5.11 USN-3681-1
Ubuntu 14.04 LTS imagemagick 8:6.7.7.10-6ubuntu3.11 USN-3681-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS graphicsmagick 1.3.18-1ubuntu3.1+esm4 —
ReleasePackageFixed inAdvisory
SLES 12 SP3 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES 12 SP2 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES 11 SP4 GraphicsMagick 1.2.5-4.78.28.2 SUSE-SU-2018:0197-1
SLES 11 SP4 ImageMagick 6.4.3.6-7.78.17.1 SUSE-SU-2018:0043-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Studio Onsite 1.3 GraphicsMagick 1.2.5-4.78.28.2 SUSE-SU-2018:0197-1
SLES for SAP 12 SP3 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES for SAP 12 SP2 ImageMagick 6.8.8.1-71.20.1 SUSE-SU-2018:0017-1
SLES for SAP 11 SP4 ImageMagick 6.4.3.6-7.78.17.1 SUSE-SU-2018:0043-1
ReleasePackageFixed inAdvisory
Alpine v3.24 graphicsmagick 1.3.27-r0 —
Alpine v3.23 graphicsmagick 1.3.27-r0 —
Alpine v3.22 graphicsmagick 1.3.27-r0 —
Alpine v3.21 graphicsmagick 1.3.27-r0 —
Alpine v3.20 graphicsmagick 1.3.27-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 graphicsmagick 1.3.27-r0 —
Alpine v3.18 graphicsmagick 1.3.27-r0 —
Alpine v3.17 graphicsmagick 1.3.27-r0 —
Alpine v3.16 graphicsmagick 1.3.27-r0 —
Alpine v3.15 graphicsmagick 1.3.27-r0 —
Alpine v3.14 graphicsmagick 1.3.27-r0 —
Alpine v3.13 graphicsmagick 1.3.27-r0 —
Alpine v3.12 graphicsmagick 1.3.27-r0 —
Alpine v3.11 graphicsmagick 1.3.27-r0 —
Alpine v3.10 graphicsmagick 1.3.27-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 11

References