CVE-2021-3996: 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 a local user on a vulnerable system to unmount other users' filesystems that are either world-writable themselves (like /tmp) or mounted in a world-writable directory. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems.
CVE-2021-3996 is a vulnerability in 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 a local user on a vulnerable system to unmount other users' filesystems that are either world-writable themselves (like /tmp) or mounted in a world-writable directory. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.64% probability of exploitation activity in the next 30 days, higher than 45% of all scored vulnerabilities. Microsoft released the fix on 1 October 2025, outside Patch Tuesday. It affects 1 product in 1 product family (Mariner).
Key facts
- CVE ID
- CVE-2021-3996
- Severity
- Medium CVSS 5.5
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-552
- EPSS
- 0.64% (percentile 45%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- August 2022 Patch Tuesday
- Product families
- Mariner
CVSS score and vector
Microsoft scores CVE-2021-3996 at 5.5 (temporal 5.5) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | High |
Frequently asked questions (Microsoft)
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products (1)
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| cm1 util-linux 2.32.1-7 on CBL Mariner 1.0 | CBL-Mariner Releases | Security Update | 2.32.1-7 | No |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 5.5 (MEDIUM)
- NVD weakness
- CWE-552
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| util-linux | from 2.34, before 2.37.3 |
| fedora 35 | all listed versions |
References
- http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html (Third Party Advisory)
- http://seclists.org/fulldisclosure/2022/Dec/4 (Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2022/11/30/2 (Mailing List, Third Party Advisory)
- https://access.redhat.com/security/cve/CVE-2021-3996 (Issue Tracking, Third Party Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=2024628 (Issue Tracking, Patch, Third Party Advisory)
- https://github.com/util-linux/util-linux/commit/166e87368ae88bf31112a30e078cceae637f4cdb (Patch, Third Party Advisory)
- https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes (Release Notes, Vendor Advisory)
- https://security.gentoo.org/glsa/202401-08
- https://security.netapp.com/advisory/ntap-20221209-0002/ (Broken Link, Third Party Advisory)
- 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 (Third Party Advisory)
- http://seclists.org/fulldisclosure/2022/Dec/4 (Mailing List, Third Party Advisory)
- http://www.openwall.com/lists/oss-security/2022/11/30/2 (Mailing List, Third Party Advisory)
- https://access.redhat.com/security/cve/CVE-2021-3996 (Issue Tracking, Third Party Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=2024628 (Issue Tracking, Patch, Third Party Advisory)
- https://github.com/util-linux/util-linux/commit/166e87368ae88bf31112a30e078cceae637f4cdb (Patch, Third Party Advisory)
- https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.3-ReleaseNotes (Release Notes, Vendor Advisory)
- https://security.gentoo.org/glsa/202401-08
- https://security.netapp.com/advisory/ntap-20221209-0002/ (Broken Link, Third Party Advisory)
- https://www.openwall.com/lists/oss-security/2022/01/24/2 (Exploit, Mailing List, Patch, Third Party Advisory)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |