# CVE-2022-25326: Denial of Service in fscrypt

- Severity: Medium 5.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2022-02-25T11:00:13.023Z
- Modified: 2026-06-17T04:33:24.067Z
- Also known as: GHSA-chxf-fjcf-7fwp, GHSA-mpq4-rjj8-fjph, GO-2022-0339
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

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

(As written by CVE List.)

## Affected

- Google LLC fscrypt: from unspecified up to 0.3.2
- github.com/google/fscrypt (Go): before 0.3.3
- google fscrypt: up to 0.3.2

## Every score

- Google: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: rating Medium
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/google/fscrypt/pull/346> (patch, third-party-advisory, web)
- <https://github.com/google/fscrypt/security/advisories/GHSA-chxf-fjcf-7fwp> (advisory, web)
- <https://github.com/google/fscrypt> (package, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25326> (advisory)
- <https://github.com/google/fscrypt/commit/91aa3ebf42032ca783c41f9ec25d885875f66ddb> (web)

## Sources

- CVE List: [CVE-2022-25326](https://www.cve.org/CVERecord?id=CVE-2022-25326), CVE Terms of Use, modified 2025-04-21
- GitHub Advisory Database: [GHSA-chxf-fjcf-7fwp](https://github.com/advisories/GHSA-chxf-fjcf-7fwp), CC-BY-4.0, modified 2024-08-21
- GitHub Advisory Database: [GHSA-mpq4-rjj8-fjph](https://github.com/advisories/GHSA-mpq4-rjj8-fjph), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0339](https://pkg.go.dev/vuln/GO-2022-0339), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-25326](https://nvd.nist.gov/vuln/detail/CVE-2022-25326), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25326 · Whole record: https://cve.day/CVE-2022-25326.json · Rebuilt by cve.day 2026-11-25T22:58:09.841Z
