CVE-2018-1083: Buffer Overflow

Published Mar 16, 2018
·
Updated

Last updated 25 August 2025

Other sources

Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality. A local unprivileged user can create a specially crafted directory path which leads to code execution in the context of the user who tries to use autocomplete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.

Launchpad

zsh is vulnerable to a stack-based buffer overflow in the genmatchesfiles() function. A local attacker could exploit this through tab completion of directories with long names leading to arbitrary code execution.

Red Hat

Affected Software

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

Event History

Mar 28, 2018
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionWeakness
Data Sourced
via NVD·01:29 PM
RemedyDescriptionSeverityWeaknessAffected 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-1083?

CVE-2018-1083 is a vulnerability in Zsh before version 5.4.2-test-1 that allows a local unprivileged user to execute arbitrary code through a buffer overflow in the shell autocomplete functionality.

2

How severe is CVE-2018-1083?

CVE-2018-1083 has a severity rating of 7.8 (high).

3

Which software versions are affected by CVE-2018-1083?

Zsh versions up to and excluding 5.1.1-1ubuntu2.2, 5.2-5ubuntu1.2, 5.5, 5.7.1-1+deb10u1, 5.8-6+deb11u1, 5.9-4, and 5.9-5 are affected by CVE-2018-1083.

4

How can I fix CVE-2018-1083?

To fix CVE-2018-1083, update Zsh to version 5.4.2-test-1 or later.

5

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

You can find more information about CVE-2018-1083 at the following references: [1] [2]

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