{"cve":"CVE-2018-6558","nvd":{"published":"2018-08-23T19:29:01.127","modified":"2026-06-17T02:02:01.473","status":"Modified","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).","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":[],"references":["https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b","https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66","https://github.com/google/fscrypt/issues/77","https://launchpad.net/bugs/1787548","https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b"],"products":["google:fscrypt"],"source":"nvd","synced_at":"2026-10-19T20:52:03.425131697+00:00"},"epss":{"cve":"CVE-2018-6558","score":0.00624,"percentile":0.49914,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qj26-7grj-whg3","url":"https://osv.dev/vulnerability/GHSA-qj26-7grj-whg3","summary":"Privilege Escalation in fscrypt","modified":"2024-05-20T19:39:08Z","packages":[{"ecosystem":"Go","name":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","ranges":["<0.2.4"],"fixed":["0.2.4"]}]},{"id":"GO-2020-0027","url":"https://osv.dev/vulnerability/GO-2020-0027","summary":"Privilege escalation in github.com/google/fscrypt","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","ranges":["<0.2.4"],"fixed":["0.2.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}