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 | — | Upgrade zsh-debuginfoUpgrade zshUpgrade zsh-html | Apr 27, 2020 | Apr 11, 2018 |
| Amazon_linux | — | Upgrade zsh | Dec 7, 2018 | Apr 11, 2018 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Apr 11, 2018 |
| Centos_linux | — | Upgrade zsh-htmlUpgrade zsh-debuginfoUpgrade zsh | Aug 28, 2019 | Apr 11, 2018 |
| Debian | — | Upgrade zsh | Dec 1, 2020 | Apr 11, 2018 |
| Gentoo Linux | — | Upgrade app-shells/zsh. | May 29, 2018 | Apr 11, 2018 |
| Huawei Euleros 2_0_sp2 | — | Upgrade zsh | Dec 31, 2018 | Apr 11, 2018 |
| Huawei Euleros 2_0_sp3 | — | Upgrade zsh | Dec 11, 2018 | Apr 11, 2018 |
| Huawei Euleros 2_0_sp5 | — | Upgrade zsh | Nov 19, 2019 | Apr 11, 2018 |
| Oracle Solaris | — | Upgrade shell/zsh to version 5.6.2-11.4.4.0.1.3.0 on Solaris 11.4 | Dec 17, 2018 | Apr 11, 2018 |
| Oracle_linux | — | Upgrade zsh-htmlUpgrade zsh | Jun 26, 2018 | Apr 7, 2018 |
| Redhat_linux | — | Upgrade zshUpgrade zsh-debuginfoUpgrade zsh-htmlNo solution exists | Jun 20, 2018 | Apr 11, 2018 |
| Suse | — | Upgrade zshUpgrade zsh-htmldoc | Apr 21, 2018 | Apr 11, 2018 |
| Ubuntu | — | Upgrade zsh | Sep 20, 2018 | Apr 11, 2018 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | 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