Every CVE Search/ Get API key

CVE-2021-3995

CVE-2021-3995 does not affect BellSoft software

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.64%Down 0.3 points since Aug 24, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2021-3995
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-552
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-3995
Weakness
CWE-552
Updated
2026-11-02
EUVDEUVD-2021-27185 No score

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.

Record
EUVD-2021-27185
Updated
2026-11-03
OSVALPINE-CVE-2021-3995 5.5

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.

Record
ALPINE-CVE-2021-3995
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2021-3995 5.5

CVE-2021-3995 does not affect BellSoft software

Record
BELL-CVE-2021-3995
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

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.

Record
CVE-2021-3995
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2021-3995 5.5

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.

Record
DEBIAN-CVE-2021-3995
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2025-192 5.5

A logic error was found in the libmount library of util-linux in the function that allows an...

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.

Record
JLSEC-2025-192
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2022-1536 5.5

util-linux security update

The util-linux package contains a random collection of files that implements some low-level basic linux utilities.

Security Fix(es):

A logical error was found in util-linux's libmount library in a function that allows unprivileged users to unmount FUSE filesystems. Incorrect uid checking allows unprivileged users to unmount FUSE filesystems with similar uid users, an attacker could exploit this vulnerability to cause a denial of service to applications using the affected filesystem.(CVE-2021-3995)

that allows unprivileged users to unmount FUSE filesystems. Issues related to parsing the /proc/self/mountinfo file allow unprivileged users to unmount other users' filesystems that are themselves world-writable (such as /tmp) or mounted in a world-writable directory. An attacker could exploit this vulnerability to cause a denial of service to applications that use the affected file system.(CVE-2021-3996)

Record
OESA-2022-1536
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-3995 5.5

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.

Record
UBUNTU-CVE-2021-3995
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2022-0076 No score

Updated util-linux packages fix security vulnerability

An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environments. (CVE-2021-37600)

Unauthorized unmount of FUSE filesystems belonging to users with similar uid. (CVE-2021-3995)

Unauthorized unmount of filesystems in libmount (CVE-2021-3996)

A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4. (CVE-2022-0563)

Additional bug fixes included by updating to version 2.36.2. See release notes for details.

Record
MGASA-2022-0076
Updated
2026-11-02
OSVopenSUSE-SU-2022:0727-1 No score

Security update for libeconf, shadow and util-linux

This security update for libeconf, shadow and util-linux fix the following issues:

libeconf:

  • Add libeconf to SLE-Module-Basesystem_15-SP3 because needed by 'util-linux' and 'shadow' to fix autoyast handling of security related parameters (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)

Issues fixed in libeconf:

  • Reading numbers with different bases (e.g. oktal) (bsc#1193632) (#157)
  • Fixed different issues while writing string values to file.
  • Writing comments to file too.
  • Fixed crash while merging values.
  • Added econftool cat option (#146)
  • new API call: econf_readDirsHistory (showing ALL locations)
  • new API call: econf_getPath (absolute path of the configuration file)
  • Man pages libeconf.3 and econftool.8.
  • Handling multiline strings.
  • Added libeconf_ext which returns more information like line_nr, comments, path of the configuration file,...
  • Econftool, an command line interface for handling configuration files.
  • Generating HTML API documentation with doxygen.
  • Improving error handling and semantic file check.
  • Joining entries with the same key to one single entry if env variable ECONF_JOIN_SAME_ENTRIES has been set.

shadow:

  • The legacy code does not support /etc/login.defs.d used by YaST. Enable libeconf to read it (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)

util-linux:

  • The legacy code does not support /etc/login.defs.d used by YaST. Enable libeconf to read it (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)
  • Allow use of larger values for start sector to prevent blockdev --report aborting (bsc#1188507)
  • Fixed blockdev --report using non-space characters as a field separator (bsc#1188507)
  • CVE-2021-3995: Fixed unauthorized unmount in util-linux's libmount. (bsc#1194976)
  • CVE-2021-3996: Fixed unauthorized unmount in util-linux's libmount. (bsc#1194976)
Record
openSUSE-SU-2022:0727-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11784-1 No score

libblkid-devel-2.37.3-1.1 on GA media

These are all security issues fixed in the libblkid-devel-2.37.3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11784-1
Updated
2026-11-02
OSVSUSE-SU-2022:0727-1 No score

Security update for libeconf, shadow and util-linux

This security update for libeconf, shadow and util-linux fix the following issues:

libeconf:

  • Add libeconf to SLE-Module-Basesystem_15-SP3 because needed by 'util-linux' and 'shadow' to fix autoyast handling of security related parameters (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)

Issues fixed in libeconf:

  • Reading numbers with different bases (e.g. oktal) (bsc#1193632) (#157)
  • Fixed different issues while writing string values to file.
  • Writing comments to file too.
  • Fixed crash while merging values.
  • Added econftool cat option (#146)
  • new API call: econf_readDirsHistory (showing ALL locations)
  • new API call: econf_getPath (absolute path of the configuration file)
  • Man pages libeconf.3 and econftool.8.
  • Handling multiline strings.
  • Added libeconf_ext which returns more information like line_nr, comments, path of the configuration file,...
  • Econftool, an command line interface for handling configuration files.
  • Generating HTML API documentation with doxygen.
  • Improving error handling and semantic file check.
  • Joining entries with the same key to one single entry if env variable ECONF_JOIN_SAME_ENTRIES has been set.

shadow:

  • The legacy code does not support /etc/login.defs.d used by YaST. Enable libeconf to read it (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)

util-linux:

  • The legacy code does not support /etc/login.defs.d used by YaST. Enable libeconf to read it (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)
  • Allow use of larger values for start sector to prevent blockdev --report aborting (bsc#1188507)
  • Fixed blockdev --report using non-space characters as a field separator (bsc#1188507)
  • CVE-2021-3995: Fixed unauthorized unmount in util-linux's libmount. (bsc#1194976)
  • CVE-2021-3996: Fixed unauthorized unmount in util-linux's libmount. (bsc#1194976)
Record
SUSE-SU-2022:0727-1
Updated
2026-11-02
OSVSUSE-SU-2022:0727-2 No score

Security update for libeconf, shadow and util-linux

This security update for libeconf, shadow and util-linux fix the following issues:

libeconf:

  • Add libeconf to SLE-Module-Basesystem_15-SP3 because needed by 'util-linux' and 'shadow' to fix autoyast handling of security related parameters (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)

Issues fixed in libeconf:

  • Reading numbers with different bases (e.g. oktal) (bsc#1193632) (#157)
  • Fixed different issues while writing string values to file.
  • Writing comments to file too.
  • Fixed crash while merging values.
  • Added econftool cat option (#146)
  • new API call: econf_readDirsHistory (showing ALL locations)
  • new API call: econf_getPath (absolute path of the configuration file)
  • Man pages libeconf.3 and econftool.8.
  • Handling multiline strings.
  • Added libeconf_ext which returns more information like line_nr, comments, path of the configuration file,...
  • Econftool, an command line interface for handling configuration files.
  • Generating HTML API documentation with doxygen.
  • Improving error handling and semantic file check.
  • Joining entries with the same key to one single entry if env variable ECONF_JOIN_SAME_ENTRIES has been set.

shadow:

  • The legacy code does not support /etc/login.defs.d used by YaST. Enable libeconf to read it (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)

util-linux:

  • The legacy code does not support /etc/login.defs.d used by YaST. Enable libeconf to read it (bsc#1192954, jsc#SLE-23384, jsc#SLE-23402)
  • Allow use of larger values for start sector to prevent blockdev --report aborting (bsc#1188507)
  • Fixed blockdev --report using non-space characters as a field separator (bsc#1188507)
  • CVE-2021-3995: Fixed unauthorized unmount in util-linux's libmount. (bsc#1194976)
  • CVE-2021-3996: Fixed unauthorized unmount in util-linux's libmount. (bsc#1194976)
Record
SUSE-SU-2022:0727-2
Updated
2026-11-02
OSVUSN-5279-1 No score

util-linux vulnerabilities

It was discovered that util-linux incorrectly handled unmounting FUSE filesystems. A local attacker could possibly use this issue to unmount FUSE filesystems belonging to other users.

Record
USN-5279-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
util-linux
Alpine:v3.12
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.13
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.14
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.15
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.16
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.17
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.18
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.19
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.20
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.21
2.34 up to 2.37.3-r0
2.37.3-r0
Show 37 moreShow less
Affected packages
PackageAffectedFixed
util-linux
Alpine:v3.22
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.23
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Alpine:v3.24
2.34 up to 2.37.3-r0
2.37.3-r0
util-linux
Debian:12
before 2.37.3-1
2.37.3-1
util-linux
Debian:13
before 2.37.3-1
2.37.3-1
util-linux
Debian:14
before 2.37.3-1
2.37.3-1
util-linux
Debian:11
From an advisory covering 2 CVEs
before 2.36.1-8+deb11u1, plus listed versions
2.36.1-8
2.36.1-8+deb11u1
Libmount_jll
Julia
before 2.39.3+0
2.39.3+0
Libuuid_jll
Julia
before 2.39.3+0
2.39.3+0
util_linux_jll
Julia
before 2.39.3+0
2.39.3+0
util-linux
Mageia:8
From an advisory covering 4 CVEs
before 2.36.2-1.mga8
2.36.2-1.mga8
util-linux
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 2.35.2-10.oe1
2.35.2-10.oe1
util-linux
openEuler:20.03-LTS-SP2
From an advisory covering 2 CVEs
before 2.35.2-9.oe1
2.35.2-9.oe1
util-linux
openEuler:20.03-LTS-SP3
From an advisory covering 2 CVEs
before 2.35.2-10.oe1
2.35.2-10.oe1
libeconf
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 2 CVEs
before 0.4.4+git20220104.962774f-150300.3.6.2
0.4.4+git20220104.962774f-150300.3.6.2
shadow
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 2 CVEs
before 4.8.1-150300.4.3.8
4.8.1-150300.4.3.8
util-linux
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.3
2.36.2-150300.4.14.3
util-linux-systemd
SUSE:Linux Enterprise Module for Basesystem 15 SP3
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.2
2.36.2-150300.4.14.2
util-linux-systemd
SUSE:Linux Enterprise Module for Server Applications 15 SP3
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.2
2.36.2-150300.4.14.2
libeconf
SUSE:Linux Enterprise Module for Transactional Server 15 SP3
From an advisory covering 2 CVEs
before 0.4.4+git20220104.962774f-150300.3.6.2
0.4.4+git20220104.962774f-150300.3.6.2
libeconf
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 2 CVEs
before 0.4.4+git20220104.962774f-150300.3.6.2
0.4.4+git20220104.962774f-150300.3.6.2
shadow
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 2 CVEs
before 4.8.1-150300.4.3.8
4.8.1-150300.4.3.8
util-linux
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.3
2.36.2-150300.4.14.3
util-linux-systemd
SUSE:Linux Enterprise Micro 5.1
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.2
2.36.2-150300.4.14.2
libeconf
SUSE:Linux Enterprise Micro 5.2
From an advisory covering 2 CVEs
before 0.4.4+git20220104.962774f-150300.3.6.2
0.4.4+git20220104.962774f-150300.3.6.2
shadow
SUSE:Linux Enterprise Micro 5.2
From an advisory covering 2 CVEs
before 4.8.1-150300.4.3.8
4.8.1-150300.4.3.8
util-linux
SUSE:Linux Enterprise Micro 5.2
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.3
2.36.2-150300.4.14.3
util-linux-systemd
SUSE:Linux Enterprise Micro 5.2
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.2
2.36.2-150300.4.14.2
util-linux
Ubuntu:20.04:LTS
before 2.34-0.1ubuntu9.3, plus listed versions
2.34-0.1ubuntu22.34-0.1ubuntu42.34-0.1ubuntu52.34-0.1ubuntu62.34-0.1ubuntu72.34-0.1ubuntu82.34-0.1ubuntu92.34-0.1ubuntu9.1
2.34-0.1ubuntu9.3
util-linux
Ubuntu:22.04:LTS
before 2.37.2-4ubuntu2, plus listed versions
2.36.1-8ubuntu12.37.2-4ubuntu1
2.37.2-4ubuntu2
util-linux
Ubuntu:20.04:LTS
From an advisory covering 2 CVEs
before 2.34-0.1ubuntu9.3, plus listed versions
2.34-0.1ubuntu22.34-0.1ubuntu42.34-0.1ubuntu52.34-0.1ubuntu62.34-0.1ubuntu72.34-0.1ubuntu82.34-0.1ubuntu92.34-0.1ubuntu9.1
2.34-0.1ubuntu9.3
libeconf
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 0.4.4+git20220104.962774f-150300.3.6.2
0.4.4+git20220104.962774f-150300.3.6.2
python3-libmount
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.2
2.36.2-150300.4.14.2
shadow
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 4.8.1-150300.4.3.8
4.8.1-150300.4.3.8
util-linux
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.3
2.36.2-150300.4.14.3
util-linux-systemd
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 2.36.2-150300.4.14.2
2.36.2-150300.4.14.2
util-linux
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 2.37.3-1.1
2.37.3-1.1

History

History
RecordedChangedSources
affected, facts
aliases, productsEUVD
first indexedCVE List, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3995 is a medium vulnerability (CVSS 5.5) in Kernel Util-linux, published January 24, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.64%, the 50th percentile. Fixed in util-linux 2.37.3-r0.

References

Show 30 moreShow less
MoveEnter Open