CVE-2017-16547
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop...
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
- Record
CVE-2017-16547- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
- Record
CVE-2017-16547- Updated
- 2026-11-02
EUVDEUVD-2017-7740 No score
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
- Record
EUVD-2017-7740- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x55w-7qj6-9jgx
8.8
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop...
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
- Record
GHSA-x55w-7qj6-9jgx- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
8.8
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
- Record
CVE-2017-16547- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-16547
8.8
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
- Record
DEBIAN-CVE-2017-16547- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-16547
8.8
The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.
- Record
UBUNTU-CVE-2017-16547- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2018:0197-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes several issues.
These security issues were fixed:
- CVE-2017-14343: Fixed a memory leak vulnerability in ReadXCFImage in coders/xcf.c via a crafted xcf image file (bsc#1058422)
- CVE-2017-12691: The ReadOneLayer function in coders/xcf.c allowed remote attackers to cause a denial of service (memory consumption) via a crafted file (bsc#1058422)
- CVE-2017-14042: Prevent memory allocation failure in the ReadPNMImage function in coders/pnm.c. The vulnerability caused a big memory allocation, which may have lead to remote denial of service in the MagickRealloc function in magick/memory.c (bsc#1056550)
- CVE-2017-13061: A length-validation vulnerability in the function ReadPSDLayersInternal in coders/psd.c allowed attackers to cause a denial of service (ReadPSDImage memory exhaustion) via a crafted file (bsc#1055063)
- CVE-2017-12563: A memory exhaustion vulnerability in the function ReadPSDImage in coders/psd.c allowed attackers to cause a denial of service (bsc#1052460)
- CVE-2017-14174: coders/psd.c allowed for DoS in ReadPSDLayersInternal() due to lack of an EOF (End of File) check might have caused huge CPU consumption. When a crafted PSD file, which claims a large 'length' field in the header but did not contain sufficient backing data, is provided, the loop over 'length' would consume huge CPU resources, since there is no EOF check inside the loop (bsc#1057723)
- CVE-2017-15277: ReadGIFImage in coders/gif.c left the palette uninitialized when processing a GIF file that has neither a global nor local palette. If this functionality was used as a library loaded into a process that operates on interesting data, this data sometimes could have been leaked via the uninitialized palette (bsc#1063050)
- CVE-2017-14733: ReadRLEImage in coders/rle.c mishandled RLE headers that specified too few colors, which allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file (bsc#1060577).
- CVE-2017-12662: Fixed a memory leak vulnerability in WritePDFImage in coders/pdf.c (bsc#1052758).
- CVE-2017-14994: ReadDCMImage in coders/dcm.c allowed remote attackers to cause a denial of service (NULL pointer dereference) via a crafted DICOM image, related to the ability of DCM_ReadNonNativeImages to yield an image list with zero frames (bsc#1061587).
- CVE-2017-12140: The ReadDCMImage function in coders\dcm.c had an integer signedness error leading to excessive memory consumption via a crafted DCM file (bsc#1051847).
- CVE-2017-12644: Fixed memory leak vulnerability in ReadDCMImage in coders\dcm.c (bsc#1052764).
- CVE-2017-11188: The ReadDPXImage function in coders\dpx.c had a large loop vulnerability that can cause CPU exhaustion via a crafted DPX file, related to lack of an EOF check (bsc#1048457).
- CVE-2017-10799: When processing a DPX image (with metadata indicating a large width) in coders/dpx.c, a denial of service (OOM) could have occurred in ReadDPXImage() (bsc#1047054).
- CVE-2017-11449: coders/mpc did not enable seekable streams and thus could not validate blob sizes, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via an image received from stdin (bsc#1049373).
- CVE-2017-11532: Prevent a memory leak vulnerability in the WriteMPCImage() function in coders/mpc.c via a crafted file allowing for DoS (bsc#1050129).
- CVE-2017-12430: A memory exhaustion in the function ReadMPCImage in coders/mpc.c allowed attackers to cause DoS (bsc#1052252).
- CVE-2017-12642: Prevent a memory leak vulnerability in ReadMPCImage in coders\mpc.c via crafted file allowing for DoS (bsc#1052771).
- CVE-2017-14249: A mishandled EOF check in ReadMPCImage in coders/mpc.c that lead to a division by zero in GetPixelCacheTileSize in MagickCore/cache.c allowed remote attackers to cause a denial of service via a…
- Record
SUSE-SU-2018:0197-1- Updated
- 2026-11-02
OSVUSN-4248-1 No score
graphicsmagick vulnerabilities
It was discovered that GraphicsMagick incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.
- Record
USN-4248-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickDebian:12 |
before 1.3.26-18 | 1.3.26-18 |
graphicsmagickDebian:13 |
before 1.3.26-18 | 1.3.26-18 |
graphicsmagickDebian:14 |
before 1.3.26-18 | 1.3.26-18 |
graphicsmagickDebian:7 From an advisory covering 2 CVEs |
before 1.3.16-1.1+deb7u15, plus listed versions 1.3.16-1.11.3.16-1.1+deb7u11.3.16-1.1+deb7u101.3.16-1.1+deb7u111.3.16-1.1+deb7u12 Show 10 moreShow less1.3.16-1.1+deb7u131.3.16-1.1+deb7u141.3.16-1.1+deb7u21.3.16-1.1+deb7u31.3.16-1.1+deb7u41.3.16-1.1+deb7u51.3.16-1.1+deb7u61.3.16-1.1+deb7u71.3.16-1.1+deb7u81.3.16-1.1+deb7u9 |
1.3.16-1.1+deb7u15 |
graphicsmagickDebian:8 From an advisory covering 31 CVEs |
before 1.3.20-3+deb8u4, plus listed versions 1.3.20-3+deb8u11.3.20-3+deb8u21.3.20-3+deb8u3 |
1.3.20-3+deb8u4 |
graphicsmagickDebian:9 From an advisory covering 56 CVEs |
before 1.3.30+hg15796-1~deb9u1, plus listed versions 1.3.25-81.3.26-11.3.26-101.3.26-111.3.26-12 Show 24 moreShow less1.3.26-131.3.26-141.3.26-151.3.26-161.3.26-171.3.26-181.3.26-191.3.26-21.3.26-31.3.26-41.3.26-51.3.26-61.3.26-71.3.26-81.3.26-91.3.27-11.3.27-21.3.27-31.3.27-41.3.28-11.3.28-21.3.29+hg15665-11.3.29-11.3.30-1 |
1.3.30+hg15796-1~deb9u1 |
GraphicsMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 23 CVEs |
before 1.2.5-4.78.28.2 | 1.2.5-4.78.28.2 |
GraphicsMagickSUSE:Studio Onsite 1.3 From an advisory covering 23 CVEs |
before 1.2.5-4.78.28.2 | 1.2.5-4.78.28.2 |
graphicsmagickUbuntu:Pro:14.04:LTS |
before 1.3.18-1ubuntu3.1+esm5, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm11.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm4 |
1.3.18-1ubuntu3.1+esm5 |
graphicsmagickUbuntu:16.04:LTS |
before 1.3.23-1ubuntu0.5, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.4 |
1.3.23-1ubuntu0.5 |
graphicsmagickUbuntu:16.04:LTS From an advisory covering 10 CVEs |
before 1.3.23-1ubuntu0.5, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.4 |
1.3.23-1ubuntu0.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-16547 is a high vulnerability (CVSS 8.8) in Graphicsmagick, published November 6, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.33%, the 83rd percentile. Fixed in graphicsmagick 1.3.26-18.
References
lists.debian.org/debian-lts-announce/2017/11/msg00016.html
hg.code.sf.net/p/graphicsmagick/code/rev/785758bbbfcc
debian.org/security/2018/dsa-4321
sourceforge.net/p/graphicsmagick/bugs/517
lists.debian.org/debian-lts-announce/2018/08/msg00002.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV
Show 66 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ
usn.ubuntu.com/4248-1
nvd.nist.gov/vuln/detail/CVE-2017-16547
lists.fedoraproject.org/archives/list/[email protected]/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV
lists.fedoraproject.org/archives/list/[email protected]/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ
github.com/advisories/GHSA-x55w-7qj6-9jgx
security-tracker.debian.org/tracker/CVE-2017-16547
suse.com/support/update/announcement/2018/suse-su-20180197-1
bugzilla.suse.com/1047044
bugzilla.suse.com/1047054
bugzilla.suse.com/1048457
bugzilla.suse.com/1049373
bugzilla.suse.com/1050129
bugzilla.suse.com/1051412
bugzilla.suse.com/1051847
bugzilla.suse.com/1052252
bugzilla.suse.com/1052460
bugzilla.suse.com/1052758
bugzilla.suse.com/1052764
bugzilla.suse.com/1052771
bugzilla.suse.com/1055063
bugzilla.suse.com/1056550
bugzilla.suse.com/1057723
bugzilla.suse.com/1058082
bugzilla.suse.com/1058422
bugzilla.suse.com/1060577
bugzilla.suse.com/1061587
bugzilla.suse.com/1063050
bugzilla.suse.com/1067177
bugzilla.suse.com/1074969
bugzilla.suse.com/1074975
suse.com/security/cve/CVE-2017-10799
suse.com/security/cve/CVE-2017-10800
suse.com/security/cve/CVE-2017-11188
suse.com/security/cve/CVE-2017-11449
suse.com/security/cve/CVE-2017-11532
suse.com/security/cve/CVE-2017-12140
suse.com/security/cve/CVE-2017-12430
suse.com/security/cve/CVE-2017-12563
suse.com/security/cve/CVE-2017-12642
suse.com/security/cve/CVE-2017-12644
suse.com/security/cve/CVE-2017-12662
suse.com/security/cve/CVE-2017-12691
suse.com/security/cve/CVE-2017-13061
suse.com/security/cve/CVE-2017-14042
suse.com/security/cve/CVE-2017-14174
suse.com/security/cve/CVE-2017-14249
suse.com/security/cve/CVE-2017-14343
suse.com/security/cve/CVE-2017-14733
suse.com/security/cve/CVE-2017-14994
suse.com/security/cve/CVE-2017-15277
suse.com/security/cve/CVE-2017-16547
suse.com/security/cve/CVE-2017-18022
suse.com/security/cve/CVE-2018-5247
ubuntu.com/security/CVE-2017-16547
ubuntu.com/security/notices/USN-4248-1
cve.org/CVERecord?id=CVE-2017-16547
ubuntu.com/security/CVE-2017-16545
ubuntu.com/security/CVE-2017-16669
ubuntu.com/security/CVE-2017-17498
ubuntu.com/security/CVE-2017-17500
ubuntu.com/security/CVE-2017-17501
ubuntu.com/security/CVE-2017-17502
ubuntu.com/security/CVE-2017-17503
ubuntu.com/security/CVE-2017-17782
ubuntu.com/security/CVE-2017-17783
Left out here: the rest of 1 source description. The JSON record has them.