Skip to content
Fencer Vulns
medium 6.5

CVE-2018-6558 json

Privilege Escalation in fscrypt

published 2018-08-23 8 y ago modified 2026-06-17 4 mo ago also GHSA-qj26-7grj-whg3 , GO-2020-0027 , EUVD-2021-1381

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 50%
public exploits
0
none known

Summary

The pam_fscrypt module in fscrypt before 0.2.4 may incorrectly restore primary and supplementary group IDs to the values associated with the root user, which allows attackers to gain privileges via a successful login through certain applications that use Linux-PAM (aka pam).

Patch / fix

  • go github.com/google/fscrypt 0.2.4
  • google fscrypt 0.2.4
  • fscrypt Debian 14, Debian 13, Debian 12 0.2.4-1

debian advisories DEBIAN-CVE-2018-6558

  • fscrypt Ubuntu 18.04 LTS 0.2.2-0ubuntu2.1

ubuntu advisories UBUNTU-CVE-2018-6558

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Exploit prediction

0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 4.9 AV:N/AC:M/Au:S/C:N/I:P/A:P
GitHub 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/google/fscrypt
<0.2.4
0.2.4

Affected products

  • The fscrypt Project fscrypt

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.