CVE catalog

CVE-2018-16588

shadow: CVE-2018-16588

[CVE catalog]

Severity
Low
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

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: this would affect non-SUSE users who took useradd.c code from a 2014-04-02 upstream pull request; however, no non-SUSE distribution is known to be affected.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianshadowsid1:4.20.3-1not affected
Debianshadowforky1:4.20.3-1not affected
Debianshadowtrixie1:4.17.4-2not affected
Debianshadowbookworm1:4.13+dfsg1-1+deb12u2not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianshadowsourcesidNot affectedunimportantNot reportedNot reported
DebianshadowsourceforkyNot affectedunimportantNot reportedNot reported
DebianshadowsourcetrixieNot affectedunimportantNot reportedNot reported
DebianshadowsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libsubid4]Not affected

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

  • [libsubid-dev]Not affected

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

  • [login]Not affected

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

  • [passwd]Not affected

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

  • [uidmap]Not affected

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Not affected

      dsa · shadow · debian · bookworm

Observed:

References