# CVE-2021-45444: zsh: The zsh shell is a command interpreter usable as an interactive login shell and as a shell script command processor

CVE-2021-45444 is fixed in 6 products on 1 platform, first by zsh 5.4.2-3ubuntu3.2, released February 14, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-45444
- Priority: High
- CVSS: 7.8 (Moderate)
- EPSS: 0.0198
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 14, 2022

## Description

The zsh shell is a command interpreter usable as an interactive login shell and as a shell script command processor. Zsh resembles the ksh shell (the Korn shell), but includes many enhancements. Zsh supports command-line editing, built-in spelling correction, programmable command completion, shell functions (with autoloading), a history mechanism, and more.  Security Fix(es):  * zsh: Prompt expansion vulnerability (CVE-2021-45444)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | zsh Debian 11.6 (bullseye) | 5.8-6+deb11u1 | [DSA-5078-1](https://patchblox.com/security/data/fix/linux/dsa-5078-1.md) | Feb 16, 2022 |
| Linux | zsh Debian 12.15 (bookworm) | 5.8.1-1 | [DEBIAN-CVE-2021-45444](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45444.md) | Feb 14, 2022 |
| Linux | zsh Debian 13.5 (trixie) | 5.8.1-1 | [DEBIAN-CVE-2021-45444](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45444.md) | Feb 14, 2022 |
| Linux | zsh Debian 14 | 5.8.1-1 | [DEBIAN-CVE-2021-45444](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45444.md) | Feb 14, 2022 |
| Linux | zsh RHEL 8 | 0:5.5.1-9.el8 | [RHSA-2022:2120](https://patchblox.com/security/data/fix/linux/rhsa-2022-2120.md) | May 10, 2022 |
| Linux | zsh Ubuntu 18.04.6 LTS (bionic) | 5.4.2-3ubuntu3.2 | [zsh 5.4.2-3ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-zsh-5.4.2-3ubuntu3.2.md) | Feb 14, 2022 |
| Linux | zsh Ubuntu 20.04 LTS (focal) | 5.8-3ubuntu1.1 | [zsh 5.8-3ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-zsh-5.8-3ubuntu1.1.md) | Feb 14, 2022 |
| Linux | zsh almalinux 8 | 5.5.1-9.el8 | [ALSA-2022:2120](https://patchblox.com/security/data/fix/linux/alsa-2022-2120.md) | May 10, 2022 |
| Linux | zsh amzn 2023 | 5.8.1-1.amzn2023.0.3 | [ALAS2023-2023-035](https://patchblox.com/security/data/fix/linux/alas2023-2023-035.md) | Feb 17, 2023 |
| Linux | zsh ol 8 | 0:5.5.1-9.el8 | [ELSA-2022-2120](https://patchblox.com/security/data/fix/linux/elsa-2022-2120.md) | May 17, 2022 |
| Linux | zsh rocky 8 | 0:5.5.1-9.el8 | [RLSA-2022:2120](https://patchblox.com/security/data/fix/linux/rlsa-2022-2120.md) | May 10, 2022 |
| Linux | zsh-common Ubuntu 18.04.6 LTS (bionic) | 5.4.2-3ubuntu3.2 | [zsh-common 5.4.2-3ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-zsh-common-5.4.2-3ubuntu3.2.md) | Feb 14, 2022 |
| Linux | zsh-common Ubuntu 20.04 LTS (focal) | 5.8-3ubuntu1.1 | [zsh-common 5.8-3ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-zsh-common-5.8-3ubuntu1.1.md) | Feb 14, 2022 |
| Linux | zsh-debuginfo amzn 2023 | 5.8.1-1.amzn2023.0.3 | [ALAS2023-2023-035](https://patchblox.com/security/data/fix/linux/alas2023-2023-035.md) | Feb 17, 2023 |
| Linux | zsh-debugsource amzn 2023 | 5.8.1-1.amzn2023.0.3 | [ALAS2023-2023-035](https://patchblox.com/security/data/fix/linux/alas2023-2023-035.md) | Feb 17, 2023 |
| Linux | zsh-html RHEL 8 | 0:5.5.1-9.el8 | [RHSA-2022:2120](https://patchblox.com/security/data/fix/linux/rhsa-2022-2120.md) | May 10, 2022 |
| Linux | zsh-html almalinux 8 | 5.5.1-9.el8 | [ALSA-2022:2120](https://patchblox.com/security/data/fix/linux/alsa-2022-2120.md) | May 10, 2022 |
| Linux | zsh-html amzn 2023 | 5.8.1-1.amzn2023.0.3 | [ALAS2023-2023-035](https://patchblox.com/security/data/fix/linux/alas2023-2023-035.md) | Feb 17, 2023 |
| Linux | zsh-html ol 8 | 0:5.5.1-9.el8 | [ELSA-2022-2120](https://patchblox.com/security/data/fix/linux/elsa-2022-2120.md) | May 17, 2022 |
| Linux | zsh-static Ubuntu 18.04.6 LTS (bionic) | 5.4.2-3ubuntu3.2 | [zsh-static 5.4.2-3ubuntu3.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-zsh-static-5.4.2-3ubuntu3.2.md) | Feb 14, 2022 |
| Linux | zsh-static Ubuntu 20.04 LTS (focal) | 5.8-3ubuntu1.1 | [zsh-static 5.8-3ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-zsh-static-5.8-3ubuntu1.1.md) | Feb 14, 2022 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
