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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | graphicsmagick | 1.3.18-1ubuntu3.1+esm4 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 1 repository
-
hexrom/ImageMagick-CVE-2017-15277 ★ 5 · Jan 15, 2019
PoC files for CVE-2017-15277, use with neex/gifoeb
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 11
- USN-4232-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3681-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4321-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4040-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4032-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1139-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1456-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1140-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:0197-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0017-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0043-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
References
- DSA-4040 vendor-advisory
- USN-3681-1 vendor-advisory
- https://github.com/neex/gifoeb
- DSA-4321 vendor-advisory
- DSA-4032 vendor-advisory
- https://github.com/ImageMagick/ImageMagick/issues/592
- [debian-lts-announce] 20180803 [SECURITY] [DLA 1456-1] graphicsmagick security update mailing-list
- https://github.com/ImageMagick/ImageMagick/commit/9fd10cf630832b36a588c1545d8736539b2f1fb5
- USN-4232-1 vendor-advisory