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

# CVE-2018-16323

Publication date 1 September 2018

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

Toggle side navigation

## Description

ReadXBMImage in coders/xbm.c in ImageMagick before 7.0.8-9 leaves data
uninitialized when processing an XBM file that has a negative pixel value.
If the affected code is used as a library loaded into a process that
includes sensitive information, that information sometimes can be leaked
via the image data.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| imagemagick | 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.4 |
| 16.04 LTS xenial | Fixed 8:6.8.9.9-7ubuntu5.13 |
| 14.04 LTS trusty | Fixed 8:6.7.7.10-6ubuntu3.13 |

---

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

### 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:   [216d117](https://github.com/ImageMagick/ImageMagick/commit/216d117f05bff87b9dc4db55a1b1fadb38bcb786) * Upstream:   [57565da](https://github.com/ImageMagick/ImageMagick6/commit/57565dace66d550042522e203f522da711d551a6) |

## 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 | High |
  | Integrity impact | None |
  | Availability impact | None |
* 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:H/I:N/A:N

## References

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

### Related Ubuntu Security Notices (USN)

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

+ [USN-3785-1](https://usn.ubuntu.com/USN-3785-1)
+ ImageMagick vulnerabilities
+ 4 October 2018

### Other references

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