CVE-2017-13134: Medium severity ImageMagick ImageMagick vulnerability

Published Aug 23, 2017
·
Updated

In ImageMagick 7.0.6-6 and GraphicsMagick 1.3.26, a heap-based buffer over-read was found in the function SFWScan in coders/sfw.c, which allows attackers to cause a denial of service via a crafted file.

Affected Software

19 affected componentsFixes available
ImageMagick ImageMagick=7.0.6-6
debian/graphicsmagick
1.3.16-1.1+deb7u151.3.20-3+deb8u31.3.30+hg15796-1~deb9u11.3.26-19
debian/imagemagick
8:6.7.7.10-5+deb7u168:6.8.9.9-5+deb8u118:6.9.7.4+dfsg-11+deb9u38:6.9.9.34+dfsg-3
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0
alpine/graphicsmagick<1.3.27-r0
1.3.27-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.3.27-r0
  2. Upgrade

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

    Fixed in 1.3.16-1.1+deb7u15Fixed in 1.3.20-3+deb8u3Fixed in 1.3.30+hg15796-1~deb9u1Fixed in 1.3.26-19
  3. Upgrade

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

    Fixed in 8:6.7.7.10-5+deb7u16Fixed in 8:6.8.9.9-5+deb8u11Fixed in 8:6.9.7.4+dfsg-11+deb9u3Fixed in 8:6.9.9.34+dfsg-3

Event History

Aug 22, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Aug 23, 2017
CVE Published
via MITRE·03:00 AM
Data Sourced
via MITRE·03:00 AM
Description
Data Sourced
via OSV·03:29 AM
DescriptionSeverityAffected Software
Oct 3, 2019
Data Sourced
12:03 AM
Weakness
Data Sourced
via NVD·12:03 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·12:03 AM
Affected Software
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:04 AM
Affected Software
Dec 3, 2026
Updated
via OSV·11:30 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 the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2017-13134.

2

What is the severity of CVE-2017-13134?

The severity of CVE-2017-13134 is medium.

3

Which software versions are affected by CVE-2017-13134?

ImageMagick 7.0.6-6 and GraphicsMagick 1.3.26 are affected by CVE-2017-13134.

4

How can CVE-2017-13134 be exploited?

CVE-2017-13134 can be exploited by using a crafted file to cause a denial of service.

5

Is there a fix available for CVE-2017-13134?

Yes, a fix is available. For GraphicsMagick, version 1.3.26-19 is the recommended fix, and for ImageMagick, version 8:6.9.7.4+dfsg-16ubuntu2.2 and 8:6.9.7.4+dfsg-16ubuntu6.2 are the recommended fixes.

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