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

# CVE-2018-18023

Publication date 7 October 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-18023?format=md#impact-score)

Toggle side navigation

## Description

In ImageMagick 7.0.8-13 Q16, there is a heap-based buffer over-read in the
SVGStripString function of coders/svg.c, which allows attackers to cause a
denial of service via a crafted SVG image file.

## 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 | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | 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-2018-18023?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:   [5d71e23](https://github.com/ImageMagick/ImageMagick/commit/5d71e23b853461dd3628cd1218834fcf13938365) * Upstream:   [a5db487](https://github.com/ImageMagick/ImageMagick6/commit/a5db4873626f702d2ddd8bc293573493e0a412c0) |

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

### 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-18023>
