CVE-2021-45444
high · 7.8In 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.
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.
CVE-2021-45444 is rated HIGH (7.8), with 10 indexed affected package builds across 2 distributions.
https://pkgseek.com/embed/security/CVE-2021-45444?locale=en
Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.
Newest affected build per package, repository source and distribution release.
zsh5.5.1-6.el8_1.2Fixed in 5.5.1-9.el8Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade zshzsh-html5.5.1-6.el8_1.2Fixed in 5.5.1-9.el8Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo dnf upgrade zsh-htmlzsh5.8-3ubuntu1Fixed in 5.8-3ubuntu1.1UBUNTU-CVE-2021-45444· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5325-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade zshzsh-common5.8-3ubuntu1Fixed in 5.8-3ubuntu1.1UBUNTU-CVE-2021-45444· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5325-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade zsh-commonzsh-dev5.8-3ubuntu1Fixed in 5.8-3ubuntu1.1UBUNTU-CVE-2021-45444· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5325-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade zsh-devzsh-doc5.8-3ubuntu1Fixed in 5.8-3ubuntu1.1UBUNTU-CVE-2021-45444· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
USN-5325-1· Affected according to vendor evidenceEvidence basis: Official distribution record matches the exact indexed package version
Verified 7/16/2026
Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.
sudo apt update && sudo apt install --only-upgrade zsh-docCached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.