CVE-2018-8804: Double Free

Published Mar 20, 2018
·
Updated

A flaw was found in ImageMagick 7.0.7-25 Q16. WriteEPTImage function in coders/ept.c allows remote attackers to cause a denial of service (MagickCore/memory.c double free and application crash) or possibly have unspecified other impact via a crafted file.

Reference: https://github.com/ImageMagick/ImageMagick/issues/1025

Patch: https://github.com/ImageMagick/ImageMagick/commit/6355db269e03f879c516cf9d592c72e157bc75d6

Other sources

ImageMagick is vulnerable to a denial of service, caused by a double free flaw in the WriteEPTImage function in coders/ept.c. By persuading a victim to open a specially-crafted file, a remote attacker could exploit this vulnerability to cause the application to crash.

IBM

WriteEPTImage in coders/ept.c in ImageMagick 7.0.7-25 Q16 allows remote attackers to cause a denial of service (MagickCore/memory.c double free and application crash) or possibly have unspecified other impact via a crafted file.

Launchpad

Affected Software

11 affected componentsFixes available
IBM Data Risk Manager<=2.0.6
ImageMagick=7.0.7-25q16
Ubuntu Linux=14.04
Ubuntu Linux=16.04
Ubuntu Linux=17.10
Ubuntu Linux=18.04
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=17.10
Ubuntu=18.04
debian/imagemagick
8:6.9.11.60+dfsg-1.3+deb11u48:6.9.11.60+dfsg-1.3+deb11u58:6.9.11.60+dfsg-1.6+deb12u28:6.9.11.60+dfsg-1.6+deb12u18:7.1.1.43+dfsg1-18:7.1.1.47+dfsg1-1

Event History

Mar 20, 2018
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
Description
Mar 23, 2018
Data Sourced
via Red Hat·01:59 PM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:10 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·10:51 PM
RemedyDescriptionSeverityAffected Software
May 6, 2025
Data Sourced
via Debian·12:17 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-8804?

CVE-2018-8804 is a vulnerability in ImageMagick that allows remote attackers to cause a denial of service by exploiting a double free flaw in the WriteEPTImage function.

2

What is the severity of CVE-2018-8804?

The severity of CVE-2018-8804 is high, with a severity value of 8.8.

3

How can I fix CVE-2018-8804 in IBM Data Risk Manager?

To fix CVE-2018-8804 in IBM Data Risk Manager, you can apply the patch provided by IBM through this link: [IBM Data Risk Manager Patch](https://www.ibm.com/support/fixcentral/swg/selectFixes?parent=IBM%20Security&product=ibm/Other+software/IBM+Data+Risk+Manager&release=2.0.4.1&platform=Linux&function=all)

4

How can I fix CVE-2018-8804 in Ubuntu?

To fix CVE-2018-8804 in Ubuntu, you can update the Imagemagick package to version 8:6.9.9.39+dfsg-1, or the specific versions mentioned in the Ubuntu Security Notice 3681-1.

5

What is the Canonical Ubuntu Linux version affected by CVE-2018-8804?

Canonical Ubuntu Linux versions 14.04, 16.04, 17.10, and 18.04 are affected by CVE-2018-8804.

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
CVE-2018-8804 - Double Free - SecAlerts