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

# CVE-2017-9142

Publication date 22 May 2017

Last updated 25 August 2025

---

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-2017-9142?format=md#impact-score)

Toggle side navigation

## Description

In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion
failure in the WriteBlob function in MagickCore/blob.c because of missing
checks in the ReadOneJNGImage function in coders/png.c.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| imagemagick | 17.04 zesty | Fixed 8:6.9.7.4+dfsg-3ubuntu1.1 |
| 16.10 yakkety | Fixed 8:6.8.9.9-7ubuntu8.6 |
| 16.04 LTS xenial | Fixed 8:6.8.9.9-7ubuntu5.7 |
| 14.04 LTS trusty | Fixed 8:6.7.7.10-6ubuntu3.7 |

---

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

## Notes

---

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

This is 0213-Fixed-incorrect-call-to-WriteBlob-reported-in-490.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:   [72f5c86](https://github.com/ImageMagick/ImageMagick/commit/72f5c8632bff2daf3c95005f9b4cf2982786b52a) |

## 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.1/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-2017-9142)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-9142)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-9142)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-9142)

### Related Ubuntu Security Notices (USN)

+ [USN-3302-1](https://usn.ubuntu.com/USN-3302-1)
+ ImageMagick vulnerabilities
+ 30 May 2017

### Other references

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