CVE-2017-15277 json
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 2017-10-12 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-6737
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 19.2%
- EPSS 19.2% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.9.34+dfsg-3
- graphicsmagick Debian 14, Debian 13, Debian 12 1.3.26-14
debian advisories DEBIAN-CVE-2017-15277
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.11
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.11
- imagemagick Ubuntu 18.04 LTS 8:6.9.7.4+dfsg-16ubuntu6.2
- graphicsmagick Ubuntu 16.04 LTS 1.3.23-1ubuntu0.4
- graphicsmagick Ubuntu Pro 14.04 LTS 1.3.18-1ubuntu3.1+esm4
ubuntu advisories UBUNTU-CVE-2017-15277
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.78.28.2
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.78.17.1
- ImageMagick SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +8 more 6.8.8.1-71.20.1
suse advisories SUSE-SU-2018:0197-1SUSE-SU-2018:0043-1SUSE-SU-2018:0017-1
- graphicsmagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 1.3.27-r0
alpine advisories ALPINE-CVE-2017-15277
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-15277 updated cvss 3.3
ImageMagick: Unitialized palette in ReadGIFImage when processing a crafted GIF file
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
19.19% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/neex/gifoeb referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/ImageMagick/ImageMagick/commit/9fd10cf630832b36a588c1545d8736539b2f1fb5
issue-tracking, patch, third-party-advisory
-
github.com
/ImageMagick/ImageMagick/issues/592
issue-tracking, patch, third-party-advisory
-
github.com
/neex/gifoeb
exploit, third-party-advisory
-
debian.org
/security/2017/dsa-4040
vendor-advisory
-
usn.ubuntu.com
/3681-1/
vendor-advisory
-
debian.org
/security/2018/dsa-4321
vendor-advisory
-
debian.org
/security/2017/dsa-4032
vendor-advisory
-
usn.ubuntu.com
/4232-1/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/08/msg00002.html
mailing-list
Sources
- CVE List CVE-2017-15277
- NVD CVE-2017-15277
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.