Every CVE Search/ Get API key

CVE-2022-27239

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command...

7.8 HighFix available

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

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
High
Integrity
High
Availability
High

Exploit likelihood

0.58%Down 0.4 points since Apr 28, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
CVE-2022-27239
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
CVE-2022-27239
Updated
2026-11-02
EUVDEUVD-2022-31748 No score

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
EUVD-2022-31748
Updated
2026-11-03
GitHub AdvisoriesGHSA-mhc8-vv44-hh59 7.8

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command...

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
GHSA-mhc8-vv44-hh59
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2022-27239 7.8

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
ALPINE-CVE-2022-27239
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVAZL-9587 7.8

CVE-2022-27239 affecting package cifs-utils for versions less than 6.14-2

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
AZL-9587
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 18 moreShow less
OSVDEBIAN-CVE-2022-27239 7.8

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
DEBIAN-CVE-2022-27239
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVOESA-2022-1626 6.7

cifs-utils security update

The in-kernel CIFS filesystem is generally the preferred method for mounting SMB/CIFS shares on Linux. The in-kernel CIFS filesystem relies on a set of user-space tools. That package of tools is called cifs-utils.Although not really part of Samba proper, these tools were originally part of the Samba package. For several reasons, shipping these tools as part of Samba was problematic and it was deemed better to split them off into their own package.

Security Fix(es):

cifs-utils through 6.14, with verbose logging, can cause an information leak when a file contains = (equal sign) characters but is not a valid credentials file.(CVE-2022-29869)

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.(CVE-2022-27239)

Record
OESA-2022-1626
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHBA-2023:3052 7.0

Red Hat Bug Fix Advisory: cifs-utils bug fix and enhancement update

Record
RHBA-2023:3052
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-27239 7.8

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
UBUNTU-CVE-2022-27239
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2026-1792442320 No score

cifs-utils: Fix of CVE-2022-27239

  • CVE-2020-14342: mount.cifs shell command injection via username mount option when built with systemd-ask-password support
Record
CLSA-2026-1792442320
Updated
2026-11-02
OSVCLSA-2026-1792442514 No score

cifs-utils: Fix of CVE-2022-27239

  • CVE-2020-14342: mount.cifs shell command injection via username mount option when built with systemd-ask-password support
Record
CLSA-2026-1792442514
Updated
2026-11-02
OSV No score

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

Record
CVE-2022-27239
Updated
2026-11-02
OSVMGASA-2022-0170 No score

Updated cifs-utils packages fix security vulnerability

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges. (CVE-2022-27239)

cifs-utils through 6.14, with verbose logging, can cause an information leak when a file contains = (equal sign) characters but is not a valid credentials file. (CVE-2022-29869)

Record
MGASA-2022-0170
Updated
2026-11-02
OSVopenSUSE-SU-2024:12087-1 No score

cifs-utils-6.15-1.1 on GA media

These are all security issues fixed in the cifs-utils-6.15-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12087-1
Updated
2026-11-02
OSVSUSE-SU-2022:1427-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2022-27239: Fixed a buffer overflow in the command line ip option (bsc#1197216).
Record
SUSE-SU-2022:1427-1
Updated
2026-11-02
OSVSUSE-SU-2022:1428-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2022-27239: Fixed a buffer overflow in the command line ip option (bsc#1197216).
Record
SUSE-SU-2022:1428-1
Updated
2026-11-02
OSVSUSE-SU-2022:1429-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2022-27239: Fixed a buffer overflow in the command line ip option (bsc#1197216).
Record
SUSE-SU-2022:1429-1
Updated
2026-11-02
OSVSUSE-SU-2022:1430-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2022-27239: Fixed a buffer overflow in the command line ip option (bsc#1197216).
Record
SUSE-SU-2022:1430-1
Updated
2026-11-02
OSVSUSE-SU-2022:14950-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2022-27239: Fixed a buffer overflow in the command line ip option (bsc#1197216).
Record
SUSE-SU-2022:14950-1
Updated
2026-11-02
OSVSUSE-SU-2022:14951-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2022-27239: Fixed a buffer overflow in the command line ip option (bsc#1197216).
Record
SUSE-SU-2022:14951-1
Updated
2026-11-02
OSVSUSE-SU-2022:2378-1 No score

Security update for cifs-utils

This update for cifs-utils fixes the following issues:

  • CVE-2022-27239: Fixed a buffer overflow in the command line ip option (bsc#1197216).
Record
SUSE-SU-2022:2378-1
Updated
2026-11-02
OSVUSN-5459-1 No score

cifs-utils vulnerabilities

Aurélien Aptel discovered that cifs-utils invoked a shell when requesting a password. In certain environments, a local attacker could possibly use this issue to escalate privileges. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14342)

It was discovered that cifs-utils incorrectly used host credentials when mounting a krb5 CIFS file system from within a container. An attacker inside a container could possibly use this issue to obtain access to sensitive information. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-20208)

It was discovered that cifs-utils incorrectly handled certain command-line arguments. A local attacker could possibly use this issue to obtain root privileges. (CVE-2022-27239)

It was discovered that cifs-utils incorrectly handled verbose logging. A local attacker could possibly use this issue to obtain sensitive information. (CVE-2022-29869)

Record
USN-5459-1
Updated
2026-11-02
OSVUSN-7688-1 No score

cifs-utils vulnerabilities

Aurélien Aptel discovered that cifs-utils invoked a shell when requesting a password. In certain environments, a local attacker could possibly use this issue to escalate privileges. (CVE-2020-14342)

It was discovered that cifs-utils incorrectly used host credentials when mounting a krb5 CIFS file system from within a container. An attacker inside a container could possibly use this issue to obtain access to sensitive information. (CVE-2021-20208)

It was discovered that cifs-utils incorrectly handled certain command-line arguments. A local attacker could possibly use this issue to obtain root privileges. (CVE-2022-27239)

It was discovered that cifs-utils incorrectly handled verbose logging. A local attacker could possibly use this issue to obtain sensitive information. (CVE-2022-29869)

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

Affected products

Show 7 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
cifs-utils
Alpine:v3.16
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.17
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.18
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.19
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.20
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.21
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.22
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.23
before 6.15-r0
6.15-r0
cifs-utils
Alpine:v3.24
before 6.15-r0
6.15-r0
cifs-utils
Azure Linux:2
before 6.14-2
6.14-2
Show 75 moreShow less
Affected packages
PackageAffectedFixed
cifs-utils
TuxCare:RHEL:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils-devel
TuxCare:RHEL:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils-devel
TuxCare:OracleLinux:7
From an advisory covering 2 CVEs
before 6.2-10.el7.0.5.tuxcare.els3
6.2-10.el7.0.5.tuxcare.els3
cifs-utils
Debian:12
before 2:6.14-1.1
2:6.14-1.1
cifs-utils
Debian:13
before 2:6.14-1.1
2:6.14-1.1
cifs-utils
Debian:14
before 2:6.14-1.1
2:6.14-1.1
cifs-utils
Debian:9
From an advisory covering 2 CVEs
before 2:6.7-1+deb9u1, plus listed versions
2:6.7-1
2:6.7-1+deb9u1
cifs-utils
Debian:10
From an advisory covering 2 CVEs
before 2:6.8-2+deb10u1, plus listed versions
2:6.8-2
2:6.8-2+deb10u1
cifs-utils
Debian:11
From an advisory covering 2 CVEs
before 2:6.11-3.1+deb11u1, plus listed versions
2:6.11-3.1
2:6.11-3.1+deb11u1
cifs-utils
Mageia:8
From an advisory covering 2 CVEs
before 6.11-2.2.mga8
6.11-2.2.mga8
cifs-utils
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 6.10-5.oe1
6.10-5.oe1
cifs-utils
openEuler:20.03-LTS-SP3
From an advisory covering 2 CVEs
before 6.10-5.oe1
6.10-5.oe1
cifs-utils
openEuler:22.03-LTS
From an advisory covering 2 CVEs
before 6.14-3.oe2203
6.14-3.oe2203
cifs-utils
Red Hat:enterprise_linux:8::baseos
before 0:7.0-1.el8
0:7.0-1.el8
cifs-utils-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:7.0-1.el8
0:7.0-1.el8
cifs-utils-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:7.0-1.el8
0:7.0-1.el8
pam_cifscreds
Red Hat:enterprise_linux:8::baseos
before 0:7.0-1.el8
0:7.0-1.el8
pam_cifscreds-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:7.0-1.el8
0:7.0-1.el8
cifs-utils-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:7.0-1.el8
0:7.0-1.el8
cifs-utils-debugsource
Red Hat:enterprise_linux:8::crb
before 0:7.0-1.el8
0:7.0-1.el8
cifs-utils-devel
Red Hat:enterprise_linux:8::crb
before 0:7.0-1.el8
0:7.0-1.el8
pam_cifscreds-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:7.0-1.el8
0:7.0-1.el8
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 6.9-150000.3.17.1
6.9-150000.3.17.1
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 6.9-150000.3.17.1
6.9-150000.3.17.1
cifs-utils
SUSE:Linux Enterprise Server 15-LTSS
before 6.9-150000.3.17.1
6.9-150000.3.17.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 15
before 6.9-150000.3.17.1
6.9-150000.3.17.1
cifs-utils
SUSE:HPE Helion OpenStack 8
before 6.9-9.18.1
6.9-9.18.1
cifs-utils
SUSE:OpenStack Cloud 8
before 6.9-9.18.1
6.9-9.18.1
cifs-utils
SUSE:OpenStack Cloud Crowbar 8
before 6.9-9.18.1
6.9-9.18.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 6.9-9.18.1
6.9-9.18.1
cifs-utils
SUSE:Linux Enterprise Server 12 SP2-BCL
before 6.9-9.18.1
6.9-9.18.1
cifs-utils
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 6.9-9.18.1
6.9-9.18.1
cifs-utils
SUSE:Linux Enterprise Server 12 SP3-BCL
before 6.9-9.18.1
6.9-9.18.1
cifs-utils
SUSE:OpenStack Cloud 9
before 6.9-13.20.1
6.9-13.20.1
cifs-utils
SUSE:OpenStack Cloud Crowbar 9
before 6.9-13.20.1
6.9-13.20.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 6.9-13.20.1
6.9-13.20.1
cifs-utils
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 6.9-13.20.1
6.9-13.20.1
cifs-utils
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 6.9-13.20.1
6.9-13.20.1
cifs-utils
SUSE:Linux Enterprise Server 12 SP5
before 6.9-13.20.1
6.9-13.20.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 6.9-13.20.1
6.9-13.20.1
cifs-utils
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Real Time 15 SP2
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Server 15 SP1-BCL
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Server 15 SP2-BCL
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Manager Proxy 4.1
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Manager Retail Branch Server 4.1
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Manager Server 4.1
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Micro 5.2
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Enterprise Storage 6
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Enterprise Storage 7
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
openSUSE:Leap 15.3
before 6.9-150100.5.15.1
6.9-150100.5.15.1
cifs-utils
SUSE:Linux Enterprise Point of Sale 11 SP3
before 5.1-0.14.3.1
5.1-0.14.3.1
cifs-utils
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 5.1-0.16.3.1
5.1-0.16.3.1
cifs-utils
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 6.15-150400.3.6.1
6.15-150400.3.6.1
cifs-utils
openSUSE:Leap 15.4
before 6.15-150400.3.6.1
6.15-150400.3.6.1
cifs-utils
Ubuntu:Pro:14.04:LTS
before 2:6.0-1ubuntu2+esm1, plus listed versions
2:6.0-1ubuntu2
2:6.0-1ubuntu2+esm1
cifs-utils
Ubuntu:Pro:16.04:LTS
before 2:6.4-1ubuntu1.1+esm1, plus listed versions
2:6.4-1ubuntu12:6.4-1ubuntu1.1
2:6.4-1ubuntu1.1+esm1
cifs-utils
Ubuntu:18.04:LTS
before 2:6.8-1ubuntu1.2, plus listed versions
2:6.7-12:6.8-12:6.8-1ubuntu12:6.8-1ubuntu1.1
2:6.8-1ubuntu1.2
cifs-utils
Ubuntu:20.04:LTS
before 2:6.9-1ubuntu0.2, plus listed versions
2:6.9-0ubuntu12:6.9-12:6.9-1ubuntu0.1
2:6.9-1ubuntu0.2
cifs-utils
Ubuntu:22.04:LTS
before 2:6.14-1ubuntu0.1, plus listed versions
2:6.11-3.12:6.14-12:6.14-1build1
2:6.14-1ubuntu0.1
cifs-utils
Ubuntu:18.04:LTS
From an advisory covering 4 CVEs
before 2:6.8-1ubuntu1.2, plus listed versions
2:6.7-12:6.8-12:6.8-1ubuntu12:6.8-1ubuntu1.1
2:6.8-1ubuntu1.2
cifs-utils
Ubuntu:20.04:LTS
From an advisory covering 4 CVEs
before 2:6.9-1ubuntu0.2, plus listed versions
2:6.9-0ubuntu12:6.9-12:6.9-1ubuntu0.1
2:6.9-1ubuntu0.2
cifs-utils
Ubuntu:22.04:LTS
From an advisory covering 4 CVEs
before 2:6.14-1ubuntu0.1, plus listed versions
2:6.11-3.12:6.14-12:6.14-1build1
2:6.14-1ubuntu0.1
cifs-utils
Ubuntu:Pro:14.04:LTS
From an advisory covering 4 CVEs
before 2:6.0-1ubuntu2+esm1, plus listed versions
2:6.0-1ubuntu2
2:6.0-1ubuntu2+esm1
cifs-utils
Ubuntu:Pro:16.04:LTS
From an advisory covering 4 CVEs
before 2:6.4-1ubuntu1.1+esm1, plus listed versions
2:6.4-1ubuntu12:6.4-1ubuntu1.1
2:6.4-1ubuntu1.1+esm1
cifs-utils
openSUSE:Tumbleweed
before 6.15-1.1
6.15-1.1

History

History
RecordedChangedSources
affected, factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

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

In short

CVE-2022-27239 is a high vulnerability (CVSS 7.8) in Samba Cifs-utils, published April 27, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.58%, the 47th percentile. Fixed in cifs-utils 6.15-r0.

References

Show 44 moreShow less
MoveEnter Open