Zsh

13 CVEs across 1 Zsh products. Browse Zsh vulnerabilities, severities, and proof-of-concept exploits.

Zsh products with known CVEs

ProductCVEs
Zsh13
Zsh CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2021-45444High7.82022-02-14In zsh before 5.8.1, an attacker can achieve code execution if they control a command output inside the prompt, as demonstrated by a %F argument. This occurs b…
CVE-2019-20044High7.82020-02-24In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the…
CVE-2018-13259Critical9.82018-09-05An issue was discovered in zsh before 5.6. Shebang lines exceeding 64 characters were truncated, potentially leading to an execve call to a program name that i…
CVE-2018-0502Critical9.82018-09-05An issue was discovered in zsh before 5.6. The beginning of a #! script file was mishandled, potentially leading to an execve call to a program named on the se…
CVE-2018-1100High7.82018-04-11zsh through version 5.4.2 is vulnerable to a stack-based buffer overflow in the utils.c:checkmailpath function. A local attacker could exploit this to execute…
CVE-2018-1083High7.82018-03-28Zsh 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 cr…
CVE-2018-1071Medium5.52018-03-09zsh 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 denia…
CVE-2018-7549High7.52018-02-27In params.c in zsh through 5.4.2, there is a crash during a copy of an empty hash table, as demonstrated by typeset -p.
CVE-2018-7548Critical9.82018-02-27In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
CVE-2017-18206Critical9.82018-02-27In utils.c in zsh before 5.4, symlink expansion had a buffer overflow.
CVE-2016-10714Critical9.82018-02-27In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.
CVE-2014-10071Critical9.82018-02-27In exec.c in zsh before 5.0.7, there is a buffer overflow for very long fds in the ">& fd" syntax.
CVE-2007-62092007-12-04Util/difflog.pl in zsh 4.3.4 allows local users to overwrite arbitrary files via a symlink attack on temporary files.