CVE-2017-13776: Medium severity GraphicsMagick Graphicsmagick vulnerability

Published Aug 30, 2017
·
Updated

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.

Affected Software

24 affected componentsFixes available
GraphicsMagick Graphicsmagick=1.3.26
Debian Debian Linux=8.0
Debian Debian Linux=9.0
debian/graphicsmagick
1.3.16-1.1+deb7u91.3.20-3+deb8u41.3.30+hg15796-1~deb9u11.3.26-8
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
alpine/graphicsmagick<1.3.26-r3
1.3.26-r3
debian/graphicsmagick<1.3.26-8
1.3.26-8
debian/graphicsmagick<1.3.26-8
1.3.26-8
debian/graphicsmagick<1.3.26-8
1.3.26-8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.16-1.1+deb7u9Fixed in 1.3.20-3+deb8u4Fixed in 1.3.30+hg15796-1~deb9u1Fixed in 1.3.26-8
  2. Upgrade

    Upgrade alpine/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.26-r3
  3. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.26-8

Event History

Aug 30, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·09:00 AM
Data Sourced
via MITRE·09:00 AM
Description
Data Sourced
via OSV·09:29 AM
DescriptionSeverityAffected Software
Dec 16, 2019
Data Sourced
08:15 PM
Weakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
08:15 PM
Affected Software
Event
08:15 PM
Nov 21, 2024
Updated
via NVD·03:11 AM
RemedyAffected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software
Jun 17, 2026
Updated
via NVD·01:05 AM
Affected Software
Dec 3, 2026
Updated
via OSV·11:31 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2017-13776?

CVE-2017-13776 is a denial-of-service vulnerability in GraphicsMagick 1.3.26 that results in high CPU and memory consumption.

2

How does CVE-2017-13776 affect GraphicsMagick?

CVE-2017-13776 affects GraphicsMagick versions 1.3.23-1ubuntu0.3 and earlier, as well as 1.3.18-1ubuntu3.1+ and earlier.

3

What is the severity of CVE-2017-13776?

CVE-2017-13776 has a severity rating of 6.5 (High).

4

How can I fix CVE-2017-13776?

To fix CVE-2017-13776, update GraphicsMagick to version 1.3.23-1ubuntu0.3 or later for Ubuntu, or version 1.3.18-1ubuntu3.1+ or later for Trusty. Alternatively, update to a later version of GraphicsMagick that includes the necessary security patches.

5

Where can I find more information about CVE-2017-13776?

You can find more information about CVE-2017-13776 on the following websites: [1] http://openwall.com/lists/oss-security/2017/08/31/2 [2] http://hg.code.sf.net/p/graphicsmagick/code/rev/233a720bfd5e [3] http://www.securityfocus.com/bid/100574

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203