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.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-zshamazon-linux-ami-2-upgrade-zsh-debuginfoamazon-linux-ami-2-upgrade-zsh-html | Apr 27, 2020 | Apr 11, 2018 | |
| Amazon_linux | — | amazon-linux-upgrade-zsh | Dec 7, 2018 | Apr 11, 2018 |
| Arch Linux | arch-linux-upgrade-latest | Jul 11, 2025 | Apr 11, 2018 | |
| Centos_linux | — | centos-upgrade-zshcentos-upgrade-zsh-debuginfocentos-upgrade-zsh-html | Aug 28, 2019 | Apr 11, 2018 |
| Debian | debian-upgrade-zsh | Dec 1, 2020 | Apr 11, 2018 | |
| Gentoo Linux | gentoo-linux-upgrade-app-shells-zsh | May 29, 2018 | Apr 11, 2018 | |
| Huawei Euleros 2_0_sp2 | huawei-euleros-2_0_sp2-upgrade-zsh | Dec 31, 2018 | Apr 11, 2018 | |
| Huawei Euleros 2_0_sp3 | huawei-euleros-2_0_sp3-upgrade-zsh | Dec 11, 2018 | Apr 11, 2018 | |
| Huawei Euleros 2_0_sp5 | huawei-euleros-2_0_sp5-upgrade-zsh | Nov 19, 2019 | Apr 11, 2018 | |
| Oracle Solaris | oracle-solaris-11-4-upgrade-shell-zsh-5-6-2-11-4-4-0-1-3-0 | Dec 17, 2018 | Apr 11, 2018 | |
| Oracle_linux | — | oracle-linux-upgrade-zshoracle-linux-upgrade-zsh-html | Jun 26, 2018 | Apr 7, 2018 |
| Redhat_linux | no-fix-redhat-rpm-packageredhat-upgrade-zshredhat-upgrade-zsh-debuginforedhat-upgrade-zsh-html | Jun 20, 2018 | Apr 11, 2018 | |
| Suse | — | suse-upgrade-zshsuse-upgrade-zsh-htmldoc | Apr 21, 2018 | Apr 11, 2018 |
| Ubuntu | ubuntu-upgrade-zsh | Sep 20, 2018 | Apr 11, 2018 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | Jan 20, 2025 | Apr 11, 2018 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub