LiveActive security incident?Get immediate response
CVE Record

CVE-2018-1083: Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow in the shell autocomplete functionality.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2018-1083 is a zsh autocomplete buffer overflow. A local user can create a malicious directory path that triggers code execution when another user uses autocomplete while traversing it. The business risk is highest on shared Unix/Linux systems where administrators use zsh.

Executive priority

Treat this as a targeted local privilege risk, not an internet-scale emergency. Patch promptly on shared and administrative Unix/Linux systems, especially where untrusted users can create paths that privileged users may browse.

Technical view

Zsh before 5.4.2-test-1 is affected by a CWE-120 buffer overflow in shell autocomplete handling. The documented attack condition is local: a specially crafted directory path can cause code execution in the autocomplete user's context, with privilege escalation if that user is privileged.

Likely exposure

Exposure is limited to systems running vulnerable zsh versions, especially multi-user servers, developer workstations, jump hosts, and administrative environments where users navigate shared paths with autocomplete.

Exploitation context

The supplied sources do not show CISA KEV listing or active exploitation. Exploitation requires local placement of a crafted path and a separate user action involving autocomplete, but impact can be severe for privileged zsh users.

Researcher notes

The bundle identifies zsh before 5.4.2-test-1 and CWE-120. It does not provide CVSS details or evidence of active exploitation. Keep analysis scoped to autocomplete-triggered local code execution and vendor-supplied package fixes.

Mitigation direction

  • Update zsh through the operating system vendor security advisory channel.
  • Prioritize shared systems and hosts where administrators use zsh interactively.
  • Check Ubuntu, Gentoo, Red Hat, and Debian advisories for fixed package versions.
  • Reduce unnecessary local shell access on shared systems.
  • Avoid relying on shell behavior workarounds without vendor guidance.

Validation and detection

  • Inventory installed zsh versions and compare against vendor fixed packages.
  • Identify hosts where zsh is an enabled login shell for privileged users.
  • Review shared writable directories accessible to untrusted local users.
  • Confirm relevant vendor advisories are applied in package management records.
  • Document any unsupported systems still running vulnerable zsh builds.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-120: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-1083 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
9Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
zshzshbefore zsh 5.4.2-test-1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-120 · source CWE mapping

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.