# CVE-2018-6558: fscrypt: The pam_fscrypt module in fscrypt before 0.2.4 may incorrectly restore primary and supplementary group IDs to the val...

CVE-2018-6558 is fixed in 3 products on 1 platform, first by fscrypt 0.2.2-0ubuntu2.1, released August 23, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-6558
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0062
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 23, 2018

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | fscrypt Ubuntu 18.04.6 LTS (bionic) | 0.2.2-0ubuntu2.1 | [fscrypt 0.2.2-0ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-fscrypt-0.2.2-0ubuntu2.1.md) | Aug 23, 2018 |
| Linux | golang-github-google-fscrypt-dev Ubuntu 18.04.6 LTS (bionic) | 0.2.2-0ubuntu2.1 | [golang-github-google-fscrypt-dev 0.2.2-0ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-golang-github-google-fscrypt-dev-0.2.2-0ubuntu2.1.md) | Aug 23, 2018 |
| Linux | libpam-fscrypt Ubuntu 18.04.6 LTS (bionic) | 0.2.2-0ubuntu2.1 | [libpam-fscrypt 0.2.2-0ubuntu2.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpam-fscrypt-0.2.2-0ubuntu2.1.md) | Aug 23, 2018 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
