Public Date:
1557382: CVE-2018-1083 zsh: Stack-based buffer overflow in gen_matches_files() at compctl.c
A buffer overflow flaw was found in the zsh shell auto-complete 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 auto-complete to traverse the before mentioned path. If the user affected is privileged, this leads to privilege escalation.

Find out more about CVE-2018-1083 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 7.5
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality High
Integrity Impact High
Availability Impact High

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 6 (zsh) RHSA-2018:1932 2018-06-19
Red Hat Enterprise Linux 7 (zsh) RHSA-2018:3073 2018-10-30

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 8 zsh Not affected
Red Hat Enterprise Linux 5 zsh Will not fix
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.


This issue was discovered by Richard Maciel Costa (Red Hat).
Last Modified