CVE-2022-25327: User login denial of service in github.com/google/fscrypt

github.com/google/fscrypt Updated 02 Oct 2025

Summary

26/02/2022
Yes i
Moderate
5.5

CVE-2022-25327: User login denial of service in github.com/google/fscrypt. Affects github.com/google/fscrypt versions < 0.3.3. Fixed in 0.3.3. How to fix ↓

Also tracked for

The same CVE-2022-25327 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

github.com/google/fscrypt is a Go package that provides a PAM module for file system encryption. It allows users to encrypt their files and directories on Linux systems. The package is widely used for securing sensitive data on Linux systems.

Vulnerability Detail

The PAM module for fscrypt doesn't adequately validate fscrypt metadata files, allowing users to create malicious metadata files that prevent other users from logging in. This vulnerability can be exploited by a local user to cause a denial of service by creating a fscrypt metadata file that prevents other users from logging into the system. The vulnerability has a CVSS score of 5.5, indicating a moderate severity level. It was published on February 26, 2022, and has been reviewed by GitHub on March 1, 2022. The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-276.

How To Fix

Latest published version: v0.3.7 as of 22 Oct 2026

go get github.com/google/fscrypt@v0.3.7

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.3

This is the first release that contains the fix.

go get github.com/google/fscrypt@v0.3.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The github.com/google/fscrypt package is vulnerable to a user login denial of service vulnerability. To mitigate this vulnerability, it is recommended to upgrade to version 0.3.3 or above. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for github.com/google/fscrypt →

Share this vulnerability

FAQ

The impact of this vulnerability is a denial of service, as it allows a local user to prevent other users from logging into the system.

Any system that uses the github.com/google/fscrypt package and has not upgraded to version 0.3.3 or above is affected by this vulnerability.

There is no known exploit for this vulnerability at the moment.

The only mitigation for this vulnerability is to upgrade to version 0.3.3 or above of the github.com/google/fscrypt package.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/google/fscrypt.

How To Fix

Latest published version: v0.3.7 as of 22 Oct 2026

go get github.com/google/fscrypt@v0.3.7

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.3

This is the first release that contains the fix.

go get github.com/google/fscrypt@v0.3.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback