CVE & CISA-KEV Catalog

CVE-2018-8804

HIGHEPSS 89th pctl
8.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
ImageMagickAmazon
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
ImageMagick-c++Amazon
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
ImageMagick-c++-develAmazon
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
ImageMagick-debuginfoAmazon
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
ImageMagick-develAmazon
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
ImageMagick-docAmazon
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
ImageMagick-perlAmazon
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
Fixed in:0:6.9.10.68-3.amzn2.0.1
imagemagickDebian
Fixed in:8:6.9.9.39+dfsg-1CVE-2018-8804
Fixed in:8:6.9.9.39+dfsg-1CVE-2018-8804
Fixed in:8:6.9.9.39+dfsg-1CVE-2018-8804
imagemagickUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.11USN-3681-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:8:6.8.9.9-7ubuntu5.11USN-3681-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:8:6.9.7.4+dfsg-16ubuntu6.2USN-3681-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

imagemagick-6.q16Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.11USN-3681-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:8:6.9.7.4+dfsg-16ubuntu6.2USN-3681-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libmagick++-6.q16-5v5Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.11USN-3681-1

This Ubuntu release reached end-of-life on 2021-04-02.

libmagick++-6.q16-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.2USN-3681-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libmagick++5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.11USN-3681-1

This Ubuntu release reached end-of-life on 2019-04-02.

libmagickcore-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.11USN-3681-1

This Ubuntu release reached end-of-life on 2021-04-02.

libmagickcore-6.q16-2-extraUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.11USN-3681-1

This Ubuntu release reached end-of-life on 2021-04-02.

libmagickcore-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.2USN-3681-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libmagickcore-6.q16-3-extraUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.2USN-3681-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

libmagickcore5Ubuntu
Fixed in:8:6.7.7.10-6ubuntu3.11USN-3681-1

This Ubuntu release reached end-of-life on 2019-04-02.

libmagickcore5-extraUbuntu
Fixed in:8:6.7.7.10-6ubuntu3.11USN-3681-1

This Ubuntu release reached end-of-life on 2019-04-02.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

3.63%probability of exploitation in 30 days
89thpercentile

Elevated risk: more likely to be exploited than 89% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-415 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-25136Medium6.590%-Fix
CVE-2003-0545Critical9.887%-Fix
CVE-2018-0101Critical10.087%-Fix
CVE-2026-33824Critical9.873%KEVFix
CVE-2019-3829Medium5.359%-Fix
CVE-2021-3407Medium5.550%-Fix

Common questions

How do I fix CVE-2018-8804?

Published advisories record a fix for 19 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2018-8804 being actively exploited?

Not that we know of. CVE-2018-8804 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 3.6% is the estimated probability that it will be exploited in the next 30 days. That is higher than 89% of all scored CVEs.

How severe is CVE-2018-8804?

CVE-2018-8804 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2018-8804 affect?

Published advisories record a fix for ImageMagick (Amazon), ImageMagick-c++ (Amazon), ImageMagick-c++-devel (Amazon), ImageMagick-debuginfo (Amazon), and 15 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2018-8804
CVE-2018-8804 severity badge

Markdown

[![CVE-2018-8804](https://tridentstack.com/cve/badge/CVE-2018-8804.svg)](https://tridentstack.com/cve/CVE-2018-8804)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-8804"><img src="https://tridentstack.com/cve/badge/CVE-2018-8804.svg" alt="CVE-2018-8804"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.