{"schemaVersion":3,"id":"CVE-2022-25326","aliases":["UBUNTU-CVE-2022-25326","DEBIAN-CVE-2022-25326","GHSA-chxf-fjcf-7fwp","GHSA-mpq4-rjj8-fjph","GO-2022-0339"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2022-02-25T11:00:13.023Z","modified":"2025-04-21T13:56:31.289Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00131,"percentile":0.02386,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00131},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00131,"percentile":0.02386}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00131,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00131,"percentile":0.02386}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"debian","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/fscrypt","purlType":"deb","versions":[{"text":"< 0.3.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/fscrypt","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/google","product":"fscrypt","name":"github.com/google/fscrypt","label":"fscrypt","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/google/fscrypt","purlType":"golang","versions":[{"text":"< 0.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.3","eol":null,"hubHref":null},{"vendor":"google llc","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ 0.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ 0.3.2","eol":null,"hubHref":"/vendor/google_llc/fscrypt"},{"vendor":"google","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.3.2","eol":null,"hubHref":"/vendor/google/fscrypt"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/google/fscrypt/pull/346","label":"github.com/google/fscrypt/pull/346","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-25326","label":"ubuntu.com/security/CVE-2022-25326","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2022/02/24/1","label":"www.openwall.com/lists/oss-security/2022/02/24/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://github.com/google/fscrypt/commit/6e355131670ad014e45f879475ddf800f0080d41","label":"github.com/google/fscrypt/commit/6e355131670ad014e45f879475ddf800f0080d41","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25326","label":"www.cve.org/CVERecord?id=CVE-2022-25326","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-25326","label":"security-tracker.debian.org/tracker/CVE-2022-25326","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/google/fscrypt/security/advisories/GHSA-chxf-fjcf-7fwp","label":"github.com/google/fscrypt/security/advisories/GHSA-chxf-fjcf-7fwp","hostname":"github.com","tags":["WEB","Advisory"]},{"url":"https://github.com/google/fscrypt","label":"github.com/google/fscrypt","hostname":"github.com","tags":["PACKAGE","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25326","label":"nvd.nist.gov/vuln/detail/CVE-2022-25326","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/google/fscrypt/commit/91aa3ebf42032ca783c41f9ec25d885875f66ddb","label":"github.com/google/fscrypt/commit/91aa3ebf42032ca783c41f9ec25d885875f66ddb","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11902-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11902-1"]},"timeline":[{"kind":"published","date":"2022-02-25T11:00:13.023Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-21T13:56:31.289Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:52:22.386Z","stale":false,"partial":false}}