Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2018-16588: Privilege escalation can occur in the SUSE useradd.c code in useradd, as distributed in the SUSE shadow packag

33
Routine
HIGH 7.8UPGRADE

CVE-2018-16588 is a high-severity flaw (CVSS 7.8) affecting shadow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Privilege escalation can occur in the SUSE useradd.c code in useradd, as distributed in the SUSE shadow package through 4.2.1-27.9.1 for SUSE Linux Enterprise 12 (SLE-12) and through 4.5-5.39 for SUSE Linux Enterprise 15 (SLE-15). Non-existing intermediate directories are created with mode 0777 during user creation. Given that they are world-writable, local attackers might use this for privilege escalation and other unspecified attacks. NOTE: th

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.8 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.3% (top 77%)
CISA exploited listNo
WeaknessCWE-732
Published2018-09-26
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: suse

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

suse shadow UPGRADE
Affected: <= 4.2.1-27.9.1 · <= 4.5-5.39
Fixed in: newer than 4.5-5.39
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy shadow || rpm -q shadow || shadow --version
2. UPGRADE to newer than 4.5-5.39 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade shadow
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade shadow
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2018-16588?

shadow: upgrade to newer than 4.5-5.39. Exact commands for each OS are on this page.

Is CVE-2018-16588 being exploited?

CVE-2018-16588 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2018-16588 affect?

CVE-2018-16588 affects shadow. Severity is high (CVSS 7.8). Privilege escalation can occur in the SUSE useradd.c code in useradd, as distributed in the SUSE shadow package through 4.2.1-27.9.1 for SUSE Linux Enterprise 12 (SLE-12) and through 4.5-5.39 for SUSE Linux Enterprise 15 (SLE-15). Non-exist

How urgent is CVE-2018-16588?

Priority 33/100. High severity

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.