CVE-2017-13737: Use After Free

Published Aug 29, 2017
·
Updated

Last updated 25 August 2025

Other sources

There is an invalid free in the MagickFree function in magick/memory.c in GraphicsMagick 1.3.26 that will lead to a remote denial of service attack.

— Launchpad

Affected Software

20 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+deb7u111.3.20-3+deb8u41.3.30+hg15796-1~deb9u11.3.26-15
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+deb7u11Fixed in 1.3.20-3+deb8u4Fixed in 1.3.30+hg15796-1~deb9u1Fixed in 1.3.26-15

Event History

Aug 29, 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·06:00 AM
Data Sourced
via MITRE·06:00 AM
Description
Data Sourced
via OSV·06:29 AM
DescriptionSeverityAffected Software
Jun 30, 2019
Data Sourced
03:15 AM
Weakness
Nov 7, 2023
Data Sourced
via NVD·02:38 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
02:38 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: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 the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2017-13737.

2

What is the severity of CVE-2017-13737?

The severity of CVE-2017-13737 is medium.

3

Which versions of GraphicsMagick are affected by CVE-2017-13737?

GraphicsMagick version 1.3.26 is affected by CVE-2017-13737.

4

How do I fix CVE-2017-13737 in Ubuntu?

To fix CVE-2017-13737 in Ubuntu, update GraphicsMagick package to versions 1.3.18-1ubuntu3.1 or later.

5

Is Debian Linux affected by CVE-2017-13737?

Yes, Debian Linux versions 8.0 and 9.0 are affected by CVE-2017-13737.

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