CVE-2017-13777
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex...
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
CVE-2017-13777- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 7.1 High
AV:N/AC:M/Au:N/C:N/I:N/A:C - Weakness
- CWE-834
- Updated
- 2026-11-02
CVE List No score
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
CVE-2017-13777- Updated
- 2026-11-02
EUVDEUVD-2017-5292 No score
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
EUVD-2017-5292- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rp4h-vf6c-9ffm
6.5
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex...
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
GHSA-rp4h-vf6c-9ffm- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-834
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-13777
6.5
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
ALPINE-CVE-2017-13777- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
6.5
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
CVE-2017-13777- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2017-13777
6.5
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
DEBIAN-CVE-2017-13777- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-13777
6.5
GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c "Read hex image data" version==10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.
- Record
UBUNTU-CVE-2017-13777- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2017:3435-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
- CVE-2017-11640: NULL pointer deref in WritePTIFImage() in coders/tiff.c could lead to denial of service [bsc#1050632]
- CVE-2017-14342: Memory exhaustion in ReadWPGImage in coders/wpg.c could lead to denial of service [bsc#1058485]
- CVE-2017-14341: Infinite loop in the ReadWPGImage function could lead to denial of service [bsc#1058637]
- CVE-2017-16546: Issue in ReadWPGImage function in coders/wpg.c could lead to denial of service [bsc#1067181]
- CVE-2017-16545: The ReadWPGImage function in coders/wpg.c in validation problems could lead to denial of service [bsc#1067184]
- CVE-2017-16669: coders/wpg.c allows remote attackers to cause a denial of service via crafted file [bsc#1067409]
- CVE-2017-13776: denial of service issue in ReadXBMImage() in a coders/xbm.c [bsc#1056429]
- CVE-2017-13777: denial of service issue in ReadXBMImage() in a coders/xbm.c [bsc#1056426]
- CVE-2017-13134: heap-based buffer over-read in the function SFWScan in coders/sfw.c could lead to denial of service via a crafted file [bsc#1055214]
- CVE-2017-15930: Null Pointer dereference while transfering JPEG scanlines could lead to denial of service [bsc#1066003]
- CVE-2017-12983: Heap-based buffer overflow in the ReadSFWImage function in coders/sfw.c allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file. [bsc#1054757]
- CVE-2017-14165: The ReadSUNImage function in coders/sun.c has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c. [bsc#1057508]
- CVE-2017-12587: Large loop vulnerability in the ReadPWPImage function in coders\pwp.c. [bsc#1052450]
- Record
SUSE-SU-2017:3435-1- Updated
- 2026-11-02
OSVUSN-4222-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-4222-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickAlpine:v3.10 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.11 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.12 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.13 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.14 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.15 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.16 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.17 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.18 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.19 |
before 1.3.26-r3 | 1.3.26-r3 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickAlpine:v3.20 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.21 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.22 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.23 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.24 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickAlpine:v3.9 |
before 1.3.26-r3 | 1.3.26-r3 |
graphicsmagickDebian:12 |
before 1.3.26-8 | 1.3.26-8 |
graphicsmagickDebian:13 |
before 1.3.26-8 | 1.3.26-8 |
graphicsmagickDebian:14 |
before 1.3.26-8 | 1.3.26-8 |
graphicsmagickDebian:7 From an advisory covering 8 CVEs |
before 1.3.16-1.1+deb7u9, plus listed versions 1.3.16-1.11.3.16-1.1+deb7u11.3.16-1.1+deb7u21.3.16-1.1+deb7u31.3.16-1.1+deb7u4 Show 4 moreShow less1.3.16-1.1+deb7u51.3.16-1.1+deb7u61.3.16-1.1+deb7u71.3.16-1.1+deb7u8 |
1.3.16-1.1+deb7u9 |
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 14 CVEs |
before 1.2.5-4.78.19.1 | 1.2.5-4.78.19.1 |
GraphicsMagickSUSE:Studio Onsite 1.3 From an advisory covering 14 CVEs |
before 1.2.5-4.78.19.1 | 1.2.5-4.78.19.1 |
graphicsmagickUbuntu:Pro:14.04:LTS |
before 1.3.18-1ubuntu3.1+esm3, 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+esm2 |
1.3.18-1ubuntu3.1+esm3 |
graphicsmagickUbuntu:16.04:LTS |
before 1.3.23-1ubuntu0.3, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.2 |
1.3.23-1ubuntu0.3 |
graphicsmagickUbuntu:16.04:LTS From an advisory covering 15 CVEs |
before 1.3.23-1ubuntu0.3, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.2 |
1.3.23-1ubuntu0.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| 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-13777 is a medium vulnerability (CVSS 6.5) in Graphicsmagick, published August 30, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.13%, the 82nd percentile. Fixed in graphicsmagick 1.3.26-r3.
References
securityfocus.com/bid/100575
debian.org/security/2018/dsa-4321
lists.debian.org/debian-lts-announce/2018/08/msg00002.html
openwall.com/lists/oss-security/2017/08/31/1
hg.code.sf.net/p/graphicsmagick/code/rev/233a720bfd5e
usn.ubuntu.com/4222-1
Show 49 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-13777
github.com/advisories/GHSA-rp4h-vf6c-9ffm
security.alpinelinux.org/vuln/CVE-2017-13777
security-tracker.debian.org/tracker/CVE-2017-13777
suse.com/support/update/announcement/2017/suse-su-20173435-1
bugzilla.suse.com/1050632
bugzilla.suse.com/1052450
bugzilla.suse.com/1054757
bugzilla.suse.com/1055214
bugzilla.suse.com/1056426
bugzilla.suse.com/1056429
bugzilla.suse.com/1057508
bugzilla.suse.com/1058485
bugzilla.suse.com/1058637
bugzilla.suse.com/1066003
bugzilla.suse.com/1067181
bugzilla.suse.com/1067184
bugzilla.suse.com/1067409
suse.com/security/cve/CVE-2016-7996
suse.com/security/cve/CVE-2017-11640
suse.com/security/cve/CVE-2017-12587
suse.com/security/cve/CVE-2017-12983
suse.com/security/cve/CVE-2017-13134
suse.com/security/cve/CVE-2017-13776
suse.com/security/cve/CVE-2017-13777
suse.com/security/cve/CVE-2017-14165
suse.com/security/cve/CVE-2017-14341
suse.com/security/cve/CVE-2017-14342
suse.com/security/cve/CVE-2017-15930
suse.com/security/cve/CVE-2017-16545
suse.com/security/cve/CVE-2017-16546
suse.com/security/cve/CVE-2017-16669
ubuntu.com/security/CVE-2017-13777
ubuntu.com/security/notices/USN-4222-1
cve.org/CVERecord?id=CVE-2017-13777
ubuntu.com/security/CVE-2017-11638
ubuntu.com/security/CVE-2017-11641
ubuntu.com/security/CVE-2017-11642
ubuntu.com/security/CVE-2017-11643
ubuntu.com/security/CVE-2017-12935
ubuntu.com/security/CVE-2017-12936
ubuntu.com/security/CVE-2017-12937
ubuntu.com/security/CVE-2017-13063
ubuntu.com/security/CVE-2017-13064
ubuntu.com/security/CVE-2017-13065
ubuntu.com/security/CVE-2017-13134
ubuntu.com/security/CVE-2017-13737
ubuntu.com/security/CVE-2017-13775
ubuntu.com/security/CVE-2017-13776