# CVE-2018-6558

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-08-23 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2018-6558, DEBIAN-CVE-2018-6558, GHSA-qj26-7grj-whg3, GO-2020-0027
- Record: https://cvemate.com/vulnerability/CVE-2018-6558 · JSON: https://cvemate.com/vulnerability/CVE-2018-6558/json

## Description

```text
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).
```

## Signals

- CVSS: 6.5 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.624%, percentile 51.349%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian fscrypt (Debian): \< 0.2.4-1
- ubuntu fscrypt (Ubuntu): \< 0.2.2-0ubuntu2.1
- github.com/google fscrypt (Go): \< 0.2.4
- google fscrypt: \< 0.2.4
- the fscrypt project fscrypt: \< 0.2.4

## References

- <https://github.com/google/fscrypt/issues/77>
- <https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b>
- <https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66>
- <https://launchpad.net/bugs/1787548>
- <https://ubuntu.com/security/CVE-2018-6558>
- <https://www.cve.org/CVERecord?id=CVE-2018-6558>
- <https://security-tracker.debian.org/tracker/CVE-2018-6558>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-6558>
- <https://github.com/google/fscrypt>
- <https://pkg.go.dev/vuln/GO-2020-0027>

---

Data as of 2026-12-05T02:33:17.580Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
