Debian Security Advisory

DLA-2926-1 zsh -- LTS security update

Date Reported:
18 Feb 2022
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2021-45444.
More information:

It was discovered that zsh, a powerful shell and scripting language, did not prevent recursive prompt expansion. This would allow an attacker to execute arbitrary commands into a user's shell, for instance by tricking a vcs_info user into checking out a git branch with a specially crafted name.

For Debian 9 stretch, this problem has been fixed in version 5.3.1-4+deb9u5.

We recommend that you upgrade your zsh packages.

For the detailed security status of zsh please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: