cve.bz

CVE-2018-8804 Double Free

8.8 highEPSS 3.6%

High (8.8). EPSS 3.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.6% (unchanged from 3.6% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-8804 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8804?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8804?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-8804 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
imagemagick:imagemagick7.0.7-25q16
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9imagemagick8:6.9.7.4+dfsg-11+deb9u9DLA-2333-1
Debian12, 13, 14imagemagick8:6.9.9.39+dfsg-1DEBIAN-CVE-2018-8804
Ubuntu14.04:LTSimagemagick8:6.7.7.10-6ubuntu3.11UBUNTU-CVE-2018-8804 USN-3681-1
Ubuntu16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.11UBUNTU-CVE-2018-8804 USN-3681-1
Ubuntu18.04:LTSimagemagick8:6.9.7.4+dfsg-16ubuntu6.2UBUNTU-CVE-2018-8804 USN-3681-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreImageMagick, ImageMagick-c++, ImageMagick-doc and 4 more0:6.9.10.68-3.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreautotrace, autotrace-devel, autotrace-debuginfo0:0.31.1-38.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreemacs, emacs-el, emacs-nox and 4 more1:24.3-23.el7RHSA-2020:1180
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreinkscape, inkscape-docs, inkscape-view and 1 more0:0.92.2-3.el7RHSA-2020:1180
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP2 and 8 moreImageMagick6.8.8.1-71.47.1SUSE-SU-2018:0857-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4ImageMagick6.4.3.6-78.40.1SUSE-SU-2018:0880-1
Alpinev3.7, v3.8, v3.9imagemagick66.9.10.39-r0ALPINE-CVE-2018-8804
Alpinev3.10, v3.11, v3.12 and 4 moreimagemagick66.9.10.37-r0ALPINE-CVE-2018-8804

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security has rated this issue as having a security impact of Low, and a future update may address this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7autotrace-0:0.31.1-38.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7emacs-1:24.3-23.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7ImageMagick-0:6.9.10.68-3.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 7inkscape-0:0.92.2-3.el7Fixed 2020-03-31RHSA-2020:1180
Red Hat Enterprise Linux 5ImageMagickNot affected
Red Hat Enterprise Linux 6ImageMagickWill not fix
Red Hat Enterprise Linux 8ImageMagickWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-8804.

References

Check your stackJSON