# CVE-2021-3995: A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-08-23T00:00:00.000Z
- Modified: 2026-06-17T04:06:21.637Z
- Weaknesses: CWE-552
- Assigned by: redhat

## Description

A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. This flaw allows an unprivileged local attacker to unmount FUSE filesystems that belong to certain other users who have a UID that is a prefix of the UID of the attacker in its string form. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems.

(As written by CVE List.)

## Affected

- util-linux: Fixed in util-linux v2.37.3
- kernel util-linux: from 2.34 before 2.37.3
- fedoraproject fedora: 35

## References

- <https://www.openwall.com/lists/oss-security/2022/01/24/2> (exploit, mailing-list, patch, third-party-advisory)
- <http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html> (exploit, third-party-advisory, vdb-entry)
- <https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes> (release-notes, vendor-advisory)
- <https://github.com/util-linux/util-linux/commit/57202f5713afa2af20ffbb6ab5331481d0396f8d> (patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2024631https://access.redhat.com/security/cve/CVE-2021-3995> (broken-link, issue-tracking)
- <http://www.openwall.com/lists/oss-security/2022/11/30/2> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Dec/4> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20221209-0002/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202401-08> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-3995](https://www.cve.org/CVERecord?id=CVE-2021-3995), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3995](https://nvd.nist.gov/vuln/detail/CVE-2021-3995), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3995 · Whole record: https://cve.day/CVE-2021-3995.json · Rebuilt by cve.day 2026-11-25T22:58:07.776Z
