CVE-2018-1071: Buffer Overflow

Published Mar 9, 2018
·
Updated

Last updated 25 August 2025

Other sources

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.

Launchpad

Affected Software

9 affected componentsFixes available
debian/zsh
5.8-6+deb11u15.9-45.9-8
Zsh zsh<=5.4.2
Debian Debian Linux=7.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0

Event History

Mar 9, 2018
Data Sourced
via Red Hat·02:18 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionWeakness
Data Sourced
via NVD·03:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:46 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·06:40 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-1071?

CVE-2018-1071 is a vulnerability in zsh through version 5.4.2 that allows for a stack-based buffer overflow.

2

What is the severity of CVE-2018-1071?

CVE-2018-1071 has a severity rating of 5.5 (medium).

3

How does CVE-2018-1071 affect zsh?

CVE-2018-1071 affects zsh through version 5.4.2.

4

How can a local attacker exploit CVE-2018-1071?

A local attacker can exploit CVE-2018-1071 to cause a denial of service.

5

Where can I find more information about CVE-2018-1071?

You can find more information about CVE-2018-1071 at the following references: [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1071), [Ubuntu Security Notices](https://ubuntu.com/security/notices/USN-3608-1), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-1071).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203