---
title: "CVE-2018-15607\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-15607?format=md
keywords: index, follow
---

# CVE-2018-15607

Publication date 21 August 2018

Last updated 13 May 2026

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2018-15607?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2018-15607?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| imagemagick | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Fixed 8:6.9.10.8+dfsg-1ubuntu2.2 |
| 18.04 LTS bionic | Fixed 8:6.9.7.4+dfsg-16ubuntu6.7 |
| 16.04 LTS xenial | Fixed 8:6.8.9.9-7ubuntu5.14 |
| 14.04 LTS trusty | Fixed 8:6.7.7.10-6ubuntu3.13+esm21  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-15607?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

no code fix upstream, solution is to limit sizes allowed in
policy.xml file
some resource limits were not in place until 2018; e.g.
00097eb42c2ea812d4a26e6683b000d4354f5fad
4d0ac66c9778faebd2d1fac7140462b043626458
1aea20aa815c41e9e2edbebb09fcdedfec064c89
60658b89de660ce8f5a2e795a0a76d3755bcef15
4493d9ca1124564da17f9b628ef9d0f1a6be9738
b8e26639f76b2e9f965584106a6819ee1d50095b
740985d9bd3f1c50d622c3496bb2e75d44b65a91 (CVE-2017-18028)
bionic and newer versions have policy limits in place by
default that prevent the issue

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

adding this commit to bionic causes test failures, need to
investigate further.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| imagemagick | * Upstream:   [d5e7c2b](https://github.com/ImageMagick/ImageMagick6/commit/d5e7c2b5ba384e7d0d8ddac6c9ae2319cb74b9c5) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-15607)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-15607)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-15607)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-15607)

### Related Ubuntu Security Notices (USN)

+ [USN-4034-1](https://usn.ubuntu.com/USN-4034-1)
+ ImageMagick vulnerabilities
+ 25 June 2019

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2018-15607>
