CVE-2018-15607
In ImageMagick 7.0.8-11 Q16, a tiny input file 0x50 0x36 0x36 0x36 0x36 0x4c 0x36 0x38 0x36 0x36 0x36 0x36 0x36 0x36 0x1f 0x35 0x50 0x00 can result in a hang of several minutes during which CPU and memory resources are consumed until ultimately an attempted large memory allocation fails. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file.
What to do
Fixed builds are available from Alpine, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | imagemagick | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | imagemagick | Fixed | 8:6.9.7.4+dfsg-16ubuntu6.7 | UBUNTU-CVE-2018-15607 |
| Ubuntu 16.04 | imagemagick | Fixed | 8:6.8.9.9-7ubuntu5.14 | UBUNTU-CVE-2018-15607 |
| Ubuntu 14.04 | imagemagick | Fix pending | 8:6.7.7.10-6ubuntu3.13+esm21 (Ubuntu Pro) | UBUNTU-CVE-2018-15607 |
| Debian 14 | imagemagick | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-15607 | |
| Debian 13 | imagemagick | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-15607 | |
| Debian 12 | imagemagick | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2018-15607 | |
| Red Hat Enterprise Linux 8 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | ImageMagick | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace | Fixed | 0:0.31.1-38.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace-devel | Fixed | 0:0.31.1-38.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-common | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-el | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-filesystem | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-nox | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-terminal | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-docs | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-view | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix Will not fix | ||
| Alpine Linux 3.16 | imagemagick6 | Fixed | 6.9.10.37-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.15 | imagemagick6 | Fixed | 6.9.10.37-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.14 | imagemagick6 | Fixed | 6.9.10.37-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.13 | imagemagick6 | Fixed | 6.9.10.37-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.12 | imagemagick6 | Fixed | 6.9.10.37-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.11 | imagemagick6 | Fixed | 6.9.10.37-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.10 | imagemagick6 | Fixed | 6.9.10.37-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.9 | imagemagick6 | Fixed | 6.9.10.39-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.8 | imagemagick6 | Fixed | 6.9.10.39-r0 | ALPINE-CVE-2018-15607 |
| Alpine Linux 3.7 | imagemagick6 | Fixed | 6.9.10.39-r0 | ALPINE-CVE-2018-15607 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/4034-1/ (vendor-advisory)
References
- https://github.com/ImageMagick/ImageMagick/issues/1255
- http://www.securityfocus.com/bid/105137
- https://usn.ubuntu.com/4034-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.