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

github.com/google/fscrypt Updated 02 Oct 2025

Summary

21/08/2024
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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The github.com/google/fscrypt package is a Go library that provides a set of tools for working with the Linux fscrypt subsystem. It allows users to encrypt and decrypt files using the Linux kernel's filesystem-level encryption feature. The package is widely used in applications that require file encryption on Linux systems.

Vulnerability Detail

This vulnerability in github.com/google/fscrypt allows an attacker to launch a denial of service (DoS) attack on user logins. By exploiting this vulnerability, an attacker can cause the affected application to become unresponsive or crash, preventing legitimate users from logging in. The vulnerability originates from a flaw in the user login process, which can be triggered by sending specially crafted requests to the application.

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 known workaround for this vulnerability. It is recommended to update the github.com/google/fscrypt package to the latest version as soon as possible.

Conclusion

The github.com/google/fscrypt package is vulnerable to a user login denial of service attack. Developers should update to version 0.3.3 or later to fix this vulnerability and prevent potential DoS attacks. There are no known workarounds for this issue.

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

Share this vulnerability

FAQ

This vulnerability can lead to a denial of service (DoS) condition, preventing legitimate users from logging into the affected application.

No, this vulnerability does not allow for authentication bypass. It only affects the user login process, causing a denial of service.

No, versions 0.3.3 and later of github.com/google/fscrypt are not affected by this vulnerability. Only versions prior to 0.3.3 are vulnerable.

There is no known public exploit for this vulnerability at the time of this report. However, it is important to update the package to mitigate the risk.

Yes, this vulnerability can be exploited remotely by sending specially crafted requests to the affected application's user login process.

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