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

# CVE-2018-1071

Publication date 9 March 2018

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

Toggle side navigation

## Description

zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in
the exec.c:hashcmd() function. A local attacker could exploit this to cause
a denial of service.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| zsh | 17.10 artful | Fixed 5.2-5ubuntu1.2 |
| 16.04 LTS xenial | Fixed 5.1.1-1ubuntu2.2 |
| 14.04 LTS trusty | Fixed 5.0.2-3ubuntu6.2 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## 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 | Low |
  | User interaction | None |
  | 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.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3608-1](https://usn.ubuntu.com/USN-3608-1)
+ Zsh vulnerabilities
+ 27 March 2018

### Other references

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