---
title: "CVE-2017-6499\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-2017-6499?format=md
keywords: index, follow
---

# CVE-2017-6499

Publication date 5 March 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**5.5 · Medium**

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

Toggle side navigation

## Description

An issue was discovered in Magick++ in ImageMagick 6.9.7. A specially
crafted file creating a nested exception could lead to a memory leak (thus,
a DoS).

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| imagemagick | 16.10 yakkety | Fixed 8:6.8.9.9-7ubuntu8.5 |
| 16.04 LTS xenial | Fixed 8:6.8.9.9-7ubuntu5.6 |
| 14.04 LTS trusty | Not affected |
| 12.04 LTS precise | Not affected |

---

* [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-2017-6499?format=md#patch-details)

## Notes

---

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

This is 0185-Fixed-memory-leak-when-creating-nested-exceptions-in.patch

### 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:   [3358f06](https://github.com/ImageMagick/ImageMagick/commit/3358f060fc182551822576b2c0a8850faab5d543) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | 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 | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:L/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-2017-6499)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-6499)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-6499)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-6499)

### Related Ubuntu Security Notices (USN)

+ [USN-3232-1](https://usn.ubuntu.com/USN-3232-1)
+ ImageMagick vulnerabilities
+ 14 March 2017

### Other references

* <https://www.imagemagick.org/discourse-server/viewtopic.php?f=23&p=142634>
* <https://www.cve.org/CVERecord?id=CVE-2017-6499>
