Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-45444

published

zsh: Prompt expansion vulnerability

Title from Red Hat VEX

Published
13 Feb 2022, 05:32:21 UTC
Updated
04 Aug 2024, 04:39:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2022-1757 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-035 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 zsh Advisory build 5.5.1-9.el8 ALSA-2022:2120
Alpine Linux edge zsh Fixed 5.8.1-r0 Package fix record
Debian bullseye zsh Advisory build 5.8-6+deb11u1 DSA-5078-1
Oracle Linux 8 zshaarch64 Advisory build 0:5.5.1-9.el8 ELSA-2022-2120
Red Hat Enterprise Linux RHEL-8 zshaarch64 Advisory build 5.5.1-9.el8 RHSA-2022:2120
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-12-SP2 zshx86_64 Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
Ubuntu bionic zsh Advisory build 5.4.2-3ubuntu3.2 USN-5325-1
Amazon Linux AL2 zshaarch64 Listed in advisory Not stated ALAS2-2022-1757
AlmaLinux 8 zsh-html Advisory build 5.5.1-9.el8 ALSA-2022:2120
Alpine Linux v3.12 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.13 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.14 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.15 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.16 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.17 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.18 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.19 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.20 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.21 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.22 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.23 zsh Fixed 5.8.1-r0 Package fix record
Alpine Linux v3.24 zsh Fixed 5.8.1-r0 Package fix record
Debian buster zsh Advisory build 5.7.1-1+deb10u1 DSA-5078-1
Debian stretch zsh Advisory build 5.3.1-4+deb9u5 DLA-2926-1
Oracle Linux 8 zshx86_64 Advisory build 0:5.5.1-9.el8 ELSA-2022-2120
Oracle Linux 8 zsh-htmlaarch64 Advisory build 0:5.5.1-9.el8 ELSA-2022-2120
Oracle Linux 8 zsh-htmlx86_64 Advisory build 0:5.5.1-9.el8 ELSA-2022-2120
Red Hat Enterprise Linux RHEL-8 zshppc64le Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zshs390x Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zshsrc Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zshx86_64 Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debuginfoaarch64 Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debuginfoppc64le Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debuginfos390x Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debuginfox86_64 Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debugsourceaarch64 Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debugsourceppc64le Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debugsources390x Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-debugsourcex86_64 Advisory build 5.5.1-9.el8 RHSA-2022:2120
Red Hat Enterprise Linux RHEL-8 zsh-htmlnoarch Advisory build 5.5.1-9.el8 RHSA-2022:2120
SUSE / openSUSE SLE-12-SP3 zshaarch64 Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP3 zshppc64le Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP3 zshs390x Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP3 zshx86_64 Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP4 zshaarch64 Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP4 zshppc64le Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP4 zshs390x Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP4 zshx86_64 Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP5 zshaarch64 Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP5 zshppc64le Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP5 zshs390x Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-12-SP5 zshx86_64 Advisory build 5.0.5-6.19.1 SUSE-SU-2022:0733-1
SUSE / openSUSE SLE-15 zshaarch64 Advisory build 5.6-3.11.1 SUSE-SU-2022:0732-1
SUSE / openSUSE SLE-15 zshppc64le Advisory build 5.6-3.11.1 SUSE-SU-2022:0732-1
SUSE / openSUSE SLE-15 zshs390x Advisory build 5.6-3.11.1 SUSE-SU-2022:0732-1
SUSE / openSUSE SLE-15 zshx86_64 Advisory build 5.6-3.11.1 SUSE-SU-2022:0732-1
SUSE / openSUSE SLE-15-SP1 zshaarch64 Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP1 zshppc64le Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP1 zshs390x Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP1 zshx86_64 Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP2 zshaarch64 Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP2 zshppc64le Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP2 zshs390x Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP2 zshx86_64 Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP3 zshaarch64 Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP3 zshppc64le Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP3 zshs390x Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE SLE-15-SP3 zshx86_64 Advisory build 5.6-7.5.1 SUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zshaarch64 Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zshppc64le Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zshs390x Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zshx86_64 Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zsh-htmldocaarch64 Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zsh-htmldocppc64le Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zsh-htmldocs390x Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Leap-15.3 zsh-htmldocx86_64 Advisory build 5.6-7.5.1 OPENSUSE-SU-2022:0735-1
SUSE / openSUSE openSUSE-Tumbleweed zshaarch64 Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
SUSE / openSUSE openSUSE-Tumbleweed zshppc64le Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
SUSE / openSUSE openSUSE-Tumbleweed zshs390x Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
SUSE / openSUSE openSUSE-Tumbleweed zshx86_64 Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocaarch64 Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocppc64le Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocs390x Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
SUSE / openSUSE openSUSE-Tumbleweed zsh-htmldocx86_64 Advisory build 5.8.1-1.1 OPENSUSE-SU-2024:11959-1
Ubuntu bionic zsh-common Advisory build 5.4.2-3ubuntu3.2 USN-5325-1
Ubuntu bionic zsh-static Advisory build 5.4.2-3ubuntu3.2 USN-5325-1
Ubuntu focal zsh Advisory build 5.8-3ubuntu1.1 USN-5325-1
Ubuntu focal zsh-common Advisory build 5.8-3ubuntu1.1 USN-5325-1
Ubuntu focal zsh-static Advisory build 5.8-3ubuntu1.1 USN-5325-1
Ubuntu xenial zsh Advisory build 5.1.1-1ubuntu2.3+esm1 USN-5325-1
Ubuntu xenial zsh-common Advisory build 5.1.1-1ubuntu2.3+esm1 USN-5325-1
Ubuntu xenial zsh-static Advisory build 5.1.1-1ubuntu2.3+esm1 USN-5325-1
Amazon Linux AL2 zshi686 Listed in advisory Not stated ALAS2-2022-1757
Amazon Linux AL2 zshnoarch Listed in advisory Not stated ALAS2-2022-1757
Amazon Linux AL2 zshsrc Listed in advisory Not stated ALAS2-2022-1757
Amazon Linux AL2 zshx86_64 Listed in advisory Not stated ALAS2-2022-1757
Amazon Linux AL2023 zshaarch64 Listed in advisory Not stated ALAS2023-2023-035
Amazon Linux AL2023 zshnoarch Listed in advisory Not stated ALAS2023-2023-035
Amazon Linux AL2023 zshsrc Listed in advisory Not stated ALAS2023-2023-035
Amazon Linux AL2023 zshx86_64 Listed in advisory Not stated ALAS2023-2023-035

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

36

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

12

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
2d27e9c0866fa1e0ab654604570f7c824c37001fbd5e53c050d01e02d01b0fd6
Ingested
23 Sep 2026, 07:56:50 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected