Skip to content
Noroxi
CVE-2019-20044· NVD / CVE Program· CNA mitre

In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option.

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.49% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: zsh-html (AlmaLinux:8) 5.5.1-6.el8_1.2; zsh (Alpine:v3.12) 5.8-r0; zsh (Debian:12) 5.8-1.

Low priority for now. Upgrade to zsh-html (AlmaLinux:8) 5.5.1-6.el8_1.2; zsh (Alpine:v3.12) 5.8-r0; zsh (Debian:12) 5.8-1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

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().

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Feb 24, 2020
Updated
Jun 16, 2026
EPSS
0.5% · 41th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2019-20044

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Port scanning: 5 full scans a day (members only)
  • Uptime monitoring: 1 site, instant email when it goes down
  • Verify your domain: subdomains and takeover risk scanned every week
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
zshzsh
applemacos
linuxlinux kernel
fedoraprojectfedora
debiandebian linux
appleipados
appleiphone os
applemac os x
appletvos
applewatchos

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple ipadosbefore 13.5
  • apple iphone osbefore 13.5
  • apple mac os x10.13.0 and later · before 10.13.6
  • apple mac os x10.15 and later · before 10.15.5
  • apple mac os xbefore 10.15.5
  • apple mac os x10.14.0 and later · before 10.14.6
  • apple mac os x10.13.6
  • apple mac os x10.14.6
  • apple tvosbefore 13.4.5
  • apple watchosbefore 6.2.5
  • debian debian linux8.0
  • debian debian linux9.0
  • fedoraproject fedora30
  • fedoraproject fedora31
  • zsh zshbefore 5.8

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8zsh-htmlbefore 5.5.1-6.el8_1.25.5.1-6.el8_1.2
Alpine:v3.12zshbefore 5.8-r05.8-r0
Debian:12zshbefore 5.8-15.8-1
Debian:8zshbefore 5.0.7-5+deb8u15.0.7-5+deb8u1
Debian:9zshbefore 5.3.1-4+deb9u15.3.1-4+deb9u1
openSUSE:Leap 15.3zshbefore 5.6-7.5.15.6-7.5.1
openSUSE:Tumbleweedzshbefore 5.8-7.75.8-7.7
Red Hat:enterprise_linux:6::clientzshbefore 0:4.3.11-11.el6_100:4.3.11-11.el6_10
Red Hat:enterprise_linux:6::clientzsh-debuginfobefore 0:4.3.11-11.el6_100:4.3.11-11.el6_10
Red Hat:enterprise_linux:6::clientzsh-htmlbefore 0:4.3.11-11.el6_100:4.3.11-11.el6_10
Red Hat:enterprise_linux:7::clientzshbefore 0:5.0.2-34.el7_7.20:5.0.2-34.el7_7.2
Red Hat:enterprise_linux:7::clientzsh-debuginfobefore 0:5.0.2-34.el7_7.20:5.0.2-34.el7_7.2
Red Hat:enterprise_linux:7::clientzsh-htmlbefore 0:5.0.2-34.el7_7.20:5.0.2-34.el7_7.2
Red Hat:enterprise_linux:8::appstreamzsh-htmlbefore 0:5.5.1-6.el8_1.20:5.5.1-6.el8_1.2
Red Hat:enterprise_linux:8::baseoszshbefore 0:5.5.1-6.el8_1.20:5.5.1-6.el8_1.2
Red Hat:enterprise_linux:8::baseoszsh-debuginfobefore 0:5.5.1-6.el8_1.20:5.5.1-6.el8_1.2
Red Hat:enterprise_linux:8::baseoszsh-debugsourcebefore 0:5.5.1-6.el8_1.20:5.5.1-6.el8_1.2
Red Hat:rhel_e4s:8.0::appstreamzsh-htmlbefore 0:5.5.1-6.el8_0.20:5.5.1-6.el8_0.2
Red Hat:rhel_e4s:8.0::baseoszshbefore 0:5.5.1-6.el8_0.20:5.5.1-6.el8_0.2
Red Hat:rhel_e4s:8.0::baseoszsh-debuginfobefore 0:5.5.1-6.el8_0.20:5.5.1-6.el8_0.2
Red Hat:rhel_e4s:8.0::baseoszsh-debugsourcebefore 0:5.5.1-6.el8_0.20:5.5.1-6.el8_0.2
Rocky Linux:8zshbefore 0:5.5.1-6.el8_1.20:5.5.1-6.el8_1.2
SUSE:HPE Helion OpenStack 8zshbefore 5.0.5-6.19.15.0.5-6.19.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOSzshbefore 5.6-3.11.15.6-3.11.1

+2

Same product

zsh: all records

Other highest-scoring records for the same primary product.

  • CVE-2018-13259An issue was discovered in zsh before 5.6.
    40Plan
  • CVE-2018-0502An issue was discovered in zsh before 5.6.
    40Plan
  • CVE-2018-7548In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
    40Plan
  • CVE-2017-18206In utils.c in zsh before 5.4, symlink expansion had a buffer overflow.
    40Plan
  • CVE-2016-10714In zsh before 5.3, an off-by-one error resulted in undersized buffers that were intended to support PATH_MAX characters.
    40Plan
  • CVE-2014-10071In exec.c in zsh before 5.0.7, there is a buffer overflow for very long fds in the ">& fd" syntax.
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:zsh-html5.5.1-6.el8_1.2 · AlmaLinux:8Package registry (OSV)
alpine:zsh5.8-r0 · Alpine:v3.12Package registry (OSV)
debian:zsh5.8-1 · Debian:12Package registry (OSV)
opensuse:zsh5.6-7.5.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:zsh0:5.0.2-34.el7_7.2 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:zsh-debuginfo0:5.0.2-34.el7_7.2 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:zsh-debugsource0:5.5.1-6.el8_1.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:zsh-html0:5.0.2-34.el7_7.2 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
rocky linux:zsh0:5.5.1-6.el8_1.2 · Rocky Linux:8Package registry (OSV)
suse:zsh5.6-3.11.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records