
CVE catalog
CVE-2019-20044
zsh: CVE-2019-20044
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.50% · Oct 25, 2026
In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | zsh | sid | 5.9.2-1 | fixed |
| Debian | zsh | forky | 5.9.2-1 | fixed |
| Debian | zsh | trixie | 5.9-8 | fixed |
| Debian | zsh | bookworm | 5.9-4 | fixed |
| Alpine | zsh | 3.12 | 5.8-r0 | fixed |
| Alpine | zsh | 3.13 | 5.8-r0 | fixed |
| Alpine | zsh | 3.14 | 5.8-r0 | fixed |
| Alpine | zsh | 3.15 | 5.8-r0 | fixed |
| Alpine | zsh | 3.16 | 5.8-r0 | fixed |
| Alpine | zsh | 3.17 | 5.8-r0 | fixed |
| Alpine | zsh | 3.18 | 5.8-r0 | fixed |
| Alpine | zsh | 3.19 | 5.8-r0 | fixed |
| Alpine | zsh | 3.20 | 5.8-r0 | fixed |
| Alpine | zsh | 3.21 | 5.8-r0 | fixed |
| Alpine | zsh | 3.22 | 5.8-r0 | fixed |
| Alpine | zsh | 3.23 | 5.8-r0 | fixed |
| Alpine | zsh | 3.24 | 5.8-r0 | fixed |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu1 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.1 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.2 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.3 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.3+esm1 | fixed |
| Ubuntu | zsh | 18.04 | 5.2-5ubuntu1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu2 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3.1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3.2 | fixed |
| Ubuntu | zsh | 20.04 | 5.7.1-1ubuntu2 | vulnerable |
| Ubuntu | zsh | 20.04 | 5.8-2ubuntu2 | vulnerable |
| Ubuntu | zsh | 20.04 | 5.8-3ubuntu1 | vulnerable |
| Ubuntu | zsh | 20.04 | 5.8-3ubuntu1.1 | fixed |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu1 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.1 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.2 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.3 | vulnerable |
| Ubuntu | zsh | pro | 5.1.1-1ubuntu2.3+esm1 | fixed |
| Ubuntu | zsh | 18.04 | 5.2-5ubuntu1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu2 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3.1 | vulnerable |
| Ubuntu | zsh | 18.04 | 5.4.2-3ubuntu3.2 | fixed |
| Ubuntu | zsh | 22.04 | 5.8-6build1 | vulnerable |
| Ubuntu | zsh | 22.04 | 5.8-10 | vulnerable |
| Ubuntu | zsh | 22.04 | 5.8.1-1 | vulnerable |
| Opensuse | zsh | leap 15.3 | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise high performance computing 15-espos | 5.6-3.11.1 | fixed |
| Suse | zsh | linux enterprise high performance computing 15-ltss | 5.6-3.11.1 | fixed |
| Suse | zsh | linux enterprise server 15-ltss | 5.6-3.11.1 | fixed |
| Suse | zsh | linux enterprise server for sap applications 15 | 5.6-3.11.1 | fixed |
| Suse | zsh | linux enterprise module for basesystem 15 sp3 | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise high performance computing 15 sp1-espos | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise high performance computing 15 sp1-ltss | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise high performance computing 15 sp2-espos | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise high performance computing 15 sp2-ltss | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise real time 15 sp2 | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise server 15 sp1-bcl | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise server 15 sp1-ltss | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise server 15 sp2-bcl | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise server 15 sp2-ltss | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise server for sap applications 15 sp1 | 5.6-7.5.1 | fixed |
| Suse | zsh | linux enterprise server for sap applications 15 sp2 | 5.6-7.5.1 | fixed |
| Suse | zsh | manager proxy 4.1 | 5.6-7.5.1 | fixed |
| Suse | zsh | manager retail branch server 4.1 | 5.6-7.5.1 | fixed |
| Suse | zsh | manager server 4.1 | 5.6-7.5.1 | fixed |
| Suse | zsh | enterprise storage 6 | 5.6-7.5.1 | fixed |
| Suse | zsh | enterprise storage 7 | 5.6-7.5.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | zsh | source | sid | 5.8-1 | not yet assigned | Not reported | [951458] |
| Debian | zsh | source | forky | 5.8-1 | not yet assigned | Not reported | [951458] |
| Debian | zsh | source | trixie | 5.8-1 | not yet assigned | Not reported | [951458] |
| Debian | zsh | source | bookworm | 5.8-1 | not yet assigned | Not reported | [951458] |
| Alpine | zsh | apk | 3.12 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.13 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.14 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.15 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.16 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.17 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.18 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.19 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.20 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.21 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.22 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.23 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Alpine | zsh | apk | 3.24 | 5.8-r0 | Not reported | ALPINE-CVE-2019-20044 | Not reported |
| Ubuntu | zsh | deb | pro | 5.1.1-1ubuntu2.3+esm1 | Not reported | USN-5325-1 | Not reported |
| Ubuntu | zsh | deb | 18.04 | 5.4.2-3ubuntu3.2 | Not reported | USN-5325-1 | Not reported |
| Ubuntu | zsh | deb | 20.04 | 5.8-3ubuntu1.1 | Not reported | USN-5325-1 | Not reported |
| Ubuntu | zsh | deb | pro | 5.1.1-1ubuntu2.3+esm1 | Not reported | UBUNTU-CVE-2019-20044 | Not reported |
| Ubuntu | zsh | deb | 18.04 | 5.4.2-3ubuntu3.2 | Not reported | UBUNTU-CVE-2019-20044 | Not reported |
| Opensuse | zsh | rpm | leap 15.3 | 5.6-7.5.1 | Not reported | OPENSUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise high performance computing 15-espos | 5.6-3.11.1 | Not reported | SUSE-SU-2022:0732-1 | Not reported |
| Suse | zsh | rpm | linux enterprise high performance computing 15-ltss | 5.6-3.11.1 | Not reported | SUSE-SU-2022:0732-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server 15-ltss | 5.6-3.11.1 | Not reported | SUSE-SU-2022:0732-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server for sap applications 15 | 5.6-3.11.1 | Not reported | SUSE-SU-2022:0732-1 | Not reported |
| Suse | zsh | rpm | linux enterprise module for basesystem 15 sp3 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise high performance computing 15 sp1-espos | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise high performance computing 15 sp1-ltss | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise high performance computing 15 sp2-espos | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise high performance computing 15 sp2-ltss | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise real time 15 sp2 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server 15 sp1-bcl | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server 15 sp1-ltss | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server 15 sp2-bcl | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server 15 sp2-ltss | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server for sap applications 15 sp1 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | linux enterprise server for sap applications 15 sp2 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | manager proxy 4.1 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | manager retail branch server 4.1 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | manager server 4.1 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | enterprise storage 6 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
| Suse | zsh | rpm | enterprise storage 7 | 5.6-7.5.1 | Not reported | SUSE-SU-2022:0735-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-4· all · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4· all · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-4+b15· amd64 · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
5.9-4+b15· arm64 · bookwormFixed · Fixed:
5.8-1dsa · zsh · debian · bookworm; dsa · zsh · debian · 12
[Debian 13 (Trixie)]
- [zsh]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
- [zsh-common]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
- [zsh-dev]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
- [zsh-doc]Fixed
Source package: [zsh]
Details (2)
5.9-8· all · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
5.9-8· all · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
- [zsh-static]Fixed
Source package: [zsh]
Details (2)
5.9-8+b23· amd64 · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
5.9-8+b23· arm64 · trixieFixed · Fixed:
5.8-1dsa · zsh · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2020:0853]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2020_0853.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2019-20044]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-20044]
- [https://osv.dev/vulnerability/DLA-2117-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0732-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0735-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-20044]
- [https://osv.dev/vulnerability/USN-5325-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2022:0735-1]
- [https://security-tracker.debian.org/tracker/CVE-2019-20044]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]