---
title: CVE-2022-25327
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-25327
---

# CVE-2022-25327

Publication date 25 February 2022

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2022-25327#impact-score)

Toggle side navigation

## Description

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. A local user can cause a denial of service by
creating a fscrypt metadata file that prevents other users from logging
into the system. We recommend upgrading to version 0.3.3 or above

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| fscrypt | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Ignored end of life |
| 20.04 LTS focal | Vulnerable |
| 18.04 LTS bionic | Vulnerable |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-25327#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| fscrypt | * Upstream:   [1a47718](https://github.com/google/fscrypt/commit/1a47718420317f893831b0223153d56005d5b02b) * Upstream:   [74e870b](https://github.com/google/fscrypt/commit/74e870b7bd1585b4b509da47e0e75db66336e576) * Upstream:   [b44fbe7](https://github.com/google/fscrypt/commit/b44fbe71e1e93c47050322af51725bac997641e0) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25327)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-25327)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-25327)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-25327)

### Other references

* <https://www.openwall.com/lists/oss-security/2022/02/24/1>
* <https://github.com/google/fscrypt/commit/1a47718420317f893831b0223153d56005d5b02b>
* <https://github.com/google/fscrypt/commit/74e870b7bd1585b4b509da47e0e75db66336e576>
* <https://github.com/google/fscrypt/commit/b44fbe71e1e93c47050322af51725bac997641e0>
* <https://www.cve.org/CVERecord?id=CVE-2022-25327>
