{"id":"CVE-2022-25326","aliases":["CVE-2022-25326","GHSA-chxf-fjcf-7fwp","GHSA-mpq4-rjj8-fjph","GO-2022-0339"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service in fscrypt","summary":"fscrypt through v0.3.2 creates a world-writable directory by default when setting up a filesystem, allowing unprivileged users to exhaust filesystem space. We recommend upgrading to fscrypt 0.3.3 or above and adjusting the permissions on existing fscrypt metadata directories where applicable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"fscrypt through v0.3.2 creates a world-writable directory by default when setting up a filesystem, allowing unprivileged users to exhaust filesystem space. We recommend upgrading to fscrypt 0.3.3 or above and adjusting the permissions on existing fscrypt metadata directories where applicable.","source":"cvelist"},{"lang":"en","text":"`fscrypt` through v0.3.2 creates a world-writable directory by default when setting up a filesystem, allowing unprivileged users to exhaust filesystem space. We recommend upgrading to `fscrypt` v0.3.3 or above and adjusting the permissions on existing `fscrypt` metadata directories where applicable.\n\nFor more details, see [CVE-2022-25326](https://www.cve.org/CVERecord?id=CVE-2022-25326) and https://github.com/google/fscrypt#setting-up-fscrypt-on-a-filesystem.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Possible filesystem space exhaustion by local users in github.com/google/fscrypt","format":"markdown","source":"go"},{"lang":"es","text":"fscrypt versiones hasta 0.3.2, crea un directorio escribible por el mundo por defecto cuando configura un sistema de archivos, lo que permite a usuarios no privilegiados agotar el espacio del sistema de archivos. Recomendamos actualizar a fscrypt versión 0.3.3 o posterior y ajustar los permisos de directorios de metadatos existentes de fscrypt cuando corresponda.","source":"nvd"}],"published":"2022-02-25T11:00:13.023Z","modified":"2026-06-17T04:33:24.067Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"0.3.2","status":"affected"}],"vendor":"Google LLC","product":"fscrypt","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.3"}],"ecosystem":"Go","package":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.3"}],"ecosystem":"Go","package":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.3"}],"ecosystem":"Go","package":"github.com/google/fscrypt","purl":"pkg:golang/github.com/google/fscrypt","source":"go"},{"ranges":[{"status":"affected","lastAffected":"0.3.2"}],"vendor":"google","product":"fscrypt","cpe":"cpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/google/fscrypt/pull/346","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/google/fscrypt/security/advisories/GHSA-chxf-fjcf-7fwp","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/google/fscrypt","tags":["package","web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25326","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/google/fscrypt/commit/91aa3ebf42032ca783c41f9ec25d885875f66ddb","tags":["web"],"sources":["ghsa"]}],"credits":["Matthias Gerstner of SUSE"],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-21T13:36:08.124Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25326","url":"https://www.cve.org/CVERecord?id=CVE-2022-25326","licence":"CVE Terms of Use","modified":"2025-04-21T13:56:31.289Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-chxf-fjcf-7fwp","url":"https://github.com/advisories/GHSA-chxf-fjcf-7fwp","licence":"CC-BY-4.0","modified":"2024-08-21T14:56:47.994Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mpq4-rjj8-fjph","url":"https://github.com/advisories/GHSA-mpq4-rjj8-fjph","licence":"CC-BY-4.0","modified":"2024-08-21T14:56:47.994Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0339","url":"https://pkg.go.dev/vuln/GO-2022-0339","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:06.475Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25326","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25326","licence":"Public domain","modified":"2026-06-17T04:33:24.067Z"}],"updatedAt":"2026-11-25T22:58:09.841Z","epss":{"score":0.00131,"percentile":0.02884,"date":"2026-12-01T12:00:22.000Z"}}