CVE catalog

CVE-2019-20044

zsh: CVE-2019-20044

[CVE catalog]

Severity
High · CVSS 7.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianzshsid5.9.2-1fixed
Debianzshforky5.9.2-1fixed
Debianzshtrixie5.9-8fixed
Debianzshbookworm5.9-4fixed
Alpinezsh3.125.8-r0fixed
Alpinezsh3.135.8-r0fixed
Alpinezsh3.145.8-r0fixed
Alpinezsh3.155.8-r0fixed
Alpinezsh3.165.8-r0fixed
Alpinezsh3.175.8-r0fixed
Alpinezsh3.185.8-r0fixed
Alpinezsh3.195.8-r0fixed
Alpinezsh3.205.8-r0fixed
Alpinezsh3.215.8-r0fixed
Alpinezsh3.225.8-r0fixed
Alpinezsh3.235.8-r0fixed
Alpinezsh3.245.8-r0fixed
Ubuntuzshpro5.1.1-1ubuntu1vulnerable
Ubuntuzshpro5.1.1-1ubuntu2vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.1vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.2vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.3vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.3+esm1fixed
Ubuntuzsh18.045.2-5ubuntu1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu2vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3.1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3.2fixed
Ubuntuzsh20.045.7.1-1ubuntu2vulnerable
Ubuntuzsh20.045.8-2ubuntu2vulnerable
Ubuntuzsh20.045.8-3ubuntu1vulnerable
Ubuntuzsh20.045.8-3ubuntu1.1fixed
Ubuntuzshpro5.1.1-1ubuntu1vulnerable
Ubuntuzshpro5.1.1-1ubuntu2vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.1vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.2vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.3vulnerable
Ubuntuzshpro5.1.1-1ubuntu2.3+esm1fixed
Ubuntuzsh18.045.2-5ubuntu1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu2vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3.1vulnerable
Ubuntuzsh18.045.4.2-3ubuntu3.2fixed
Ubuntuzsh22.045.8-6build1vulnerable
Ubuntuzsh22.045.8-10vulnerable
Ubuntuzsh22.045.8.1-1vulnerable
Opensusezshleap 15.35.6-7.5.1fixed
Susezshlinux enterprise high performance computing 15-espos5.6-3.11.1fixed
Susezshlinux enterprise high performance computing 15-ltss5.6-3.11.1fixed
Susezshlinux enterprise server 15-ltss5.6-3.11.1fixed
Susezshlinux enterprise server for sap applications 155.6-3.11.1fixed
Susezshlinux enterprise module for basesystem 15 sp35.6-7.5.1fixed
Susezshlinux enterprise high performance computing 15 sp1-espos5.6-7.5.1fixed
Susezshlinux enterprise high performance computing 15 sp1-ltss5.6-7.5.1fixed
Susezshlinux enterprise high performance computing 15 sp2-espos5.6-7.5.1fixed
Susezshlinux enterprise high performance computing 15 sp2-ltss5.6-7.5.1fixed
Susezshlinux enterprise real time 15 sp25.6-7.5.1fixed
Susezshlinux enterprise server 15 sp1-bcl5.6-7.5.1fixed
Susezshlinux enterprise server 15 sp1-ltss5.6-7.5.1fixed
Susezshlinux enterprise server 15 sp2-bcl5.6-7.5.1fixed
Susezshlinux enterprise server 15 sp2-ltss5.6-7.5.1fixed
Susezshlinux enterprise server for sap applications 15 sp15.6-7.5.1fixed
Susezshlinux enterprise server for sap applications 15 sp25.6-7.5.1fixed
Susezshmanager proxy 4.15.6-7.5.1fixed
Susezshmanager retail branch server 4.15.6-7.5.1fixed
Susezshmanager server 4.15.6-7.5.1fixed
Susezshenterprise storage 65.6-7.5.1fixed
Susezshenterprise storage 75.6-7.5.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianzshsourcesid5.8-1not yet assignedNot reported[951458]
Debianzshsourceforky5.8-1not yet assignedNot reported[951458]
Debianzshsourcetrixie5.8-1not yet assignedNot reported[951458]
Debianzshsourcebookworm5.8-1not yet assignedNot reported[951458]
Alpinezshapk3.125.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.135.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.145.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.155.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.165.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.175.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.185.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.195.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.205.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.215.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.225.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.235.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Alpinezshapk3.245.8-r0Not reportedALPINE-CVE-2019-20044Not reported
Ubuntuzshdebpro5.1.1-1ubuntu2.3+esm1Not reportedUSN-5325-1Not reported
Ubuntuzshdeb18.045.4.2-3ubuntu3.2Not reportedUSN-5325-1Not reported
Ubuntuzshdeb20.045.8-3ubuntu1.1Not reportedUSN-5325-1Not reported
Ubuntuzshdebpro5.1.1-1ubuntu2.3+esm1Not reportedUBUNTU-CVE-2019-20044Not reported
Ubuntuzshdeb18.045.4.2-3ubuntu3.2Not reportedUBUNTU-CVE-2019-20044Not reported
Opensusezshrpmleap 15.35.6-7.5.1Not reportedOPENSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise high performance computing 15-espos5.6-3.11.1Not reportedSUSE-SU-2022:0732-1Not reported
Susezshrpmlinux enterprise high performance computing 15-ltss5.6-3.11.1Not reportedSUSE-SU-2022:0732-1Not reported
Susezshrpmlinux enterprise server 15-ltss5.6-3.11.1Not reportedSUSE-SU-2022:0732-1Not reported
Susezshrpmlinux enterprise server for sap applications 155.6-3.11.1Not reportedSUSE-SU-2022:0732-1Not reported
Susezshrpmlinux enterprise module for basesystem 15 sp35.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise high performance computing 15 sp1-espos5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise high performance computing 15 sp1-ltss5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise high performance computing 15 sp2-espos5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise high performance computing 15 sp2-ltss5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise real time 15 sp25.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise server 15 sp1-bcl5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise server 15 sp1-ltss5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise server 15 sp2-bcl5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise server 15 sp2-ltss5.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise server for sap applications 15 sp15.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmlinux enterprise server for sap applications 15 sp25.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmmanager proxy 4.15.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmmanager retail branch server 4.15.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmmanager server 4.15.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmenterprise storage 65.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported
Susezshrpmenterprise storage 75.6-7.5.1Not reportedSUSE-SU-2022:0735-1Not reported

[Debian bug #951458]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [zsh]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4+b15 · amd64 · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-common]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-dev]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4+b15 · amd64 · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-doc]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4 · all · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

  • [zsh-static]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-4+b15 · amd64 · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

    • 5.9-4+b15 · arm64 · bookworm

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · bookworm; dsa · zsh · debian · 12

[Debian 13 (Trixie)]

  • [zsh]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8+b23 · amd64 · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

  • [zsh-common]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

  • [zsh-dev]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8+b23 · amd64 · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

  • [zsh-doc]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

    • 5.9-8 · all · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

  • [zsh-static]Fixed

    Source package: [zsh]

    Details (2)
    • 5.9-8+b23 · amd64 · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

    • 5.9-8+b23 · arm64 · trixie

      Fixed · Fixed: 5.8-1

      dsa · zsh · debian · 13

Observed:

References