zsh zsh vulnerabilities, newest first
Filter
By year: all 2026 2025 2024 2023 2022 2021
- 7.8CVE-2021-45444EPSS 2.0%
In 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 because of recursive PROMPT_SUBST expansion.
- 7.8CVE-2019-20044EPSS 0.5%
In 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 original privileges can be restored by executing MODULE_PATH=/dir/with/module z…
- 9.8CVE-2018-13259EPSS 2.7%
An 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 is a substring of the intended one.
- 9.8CVE-2018-0502EPSS 2.5%
An 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 second line.
- 7.8CVE-2018-1100EPSS 0.5%
zsh 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 arbitrary code in the context of another user.
- 7.8CVE-2018-1083EPSS 0.6%
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 wh…
- 5.5CVE-2018-1071EPSS 0.4%
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.
- 7.5CVE-2018-7549EPSS 2.6%
In 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.
- 9.8CVE-2018-7548EPSS 2.5%
In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
- 9.8CVE-2017-18206EPSS 3.1%
In utils.c in zsh before 5.4, symlink expansion had a buffer overflow.
- 9.8CVE-2016-10714EPSS 2.1%
In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.
- 9.8CVE-2014-10071EPSS 2.7%
In exec.c in zsh before 5.0.7, there is a buffer overflow for very long fds in the ">& fd" syntax.
- –CVE-2007-6209EPSS 0.3%
Util/difflog.pl in zsh 4.3.4 allows local users to overwrite arbitrary files via a symlink attack on temporary files.