High severity · published Feb 24, 2020
CVE-2019-20044
In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option
7.8
CVSS
0.5%
EPSS
No
On KEV
Description
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().
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IO
iOS · Apple
before 13.5 · source: NVD
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
FE
Fedora · Fedoraproject
30; 31 · source: NVD
MO
Mac OS X · Apple
before 10.15.5; 10.13.0 before 10.13.6; 10.14.0 before 10.14.6; 10.15 before 10.15.5; 10.13.6; 10.13.6; +19 more · source: NVD
TV
Tvos · Apple
before 13.4.5 · source: NVD
WA
Watchos · Apple
before 6.2.5 · source: NVD
ZS
Zsh · Zsh
before 5.8 · source: NVD
Affected product
IO
iOS
Apple
More from iOS
10.0
CVE-2025-43300
Apple iOS, iPadOS, and macOS Out-of-Bounds Write Vulnerability
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2025-24085
Apple Multiple Products Use-After-Free Vulnerability
9.8
CVE-2025-31200
Apple Multiple Products Memory Corruption Vulnerability
9.8
CVE-2025-31201
Apple Multiple Products Arbitrary Read and Write Vulnerability