Skip to content
Fencer Vulns
high 7.8

CVE-2022-27239 json

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

published 2022-04-27 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-31748

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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.

Patch / fix

  • samba cifs-utils 6.15
  • cifs-utils Debian 14, Debian 13, Debian 12 2:6.14-1.1

debian advisories DEBIAN-CVE-2022-27239

  • cifs-utils Ubuntu 18.04 LTS 2:6.8-1ubuntu1.2
  • cifs-utils Ubuntu 20.04 LTS 2:6.9-1ubuntu0.2
  • cifs-utils Ubuntu 22.04 LTS 2:6.14-1ubuntu0.1
  • cifs-utils Ubuntu Pro 14.04 LTS 2:6.0-1ubuntu2+esm1
  • cifs-utils Ubuntu Pro 16.04 LTS 2:6.4-1ubuntu1.1+esm1

ubuntu advisories UBUNTU-CVE-2022-27239

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cifs-utils RHEL 8 7.0-1.el8
  • pam_cifscreds RHEL 8 7.0-1.el8

red hat advisories RHBA-2023:3052

  • cifs-utils SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 6.15-150400.3.6.1
  • cifs-utils SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +16 more 6.9-150100.5.15.1
  • cifs-utils SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +4 more 6.9-13.20.1
  • cifs-utils SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 6.9-9.18.1
  • cifs-utils SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 6.9-150000.3.17.1
  • cifs-utils SLE Point of Sale 11 SP3 5.1-0.14.3.1
  • cifs-utils SLES 11 SP4-LTSS 5.1-0.16.3.1

suse advisories SUSE-SU-2022:2378-1SUSE-SU-2022:1430-1SUSE-SU-2022:1429-1SUSE-SU-2022:1428-1SUSE-SU-2022:1427-1SUSE-SU-2022:14951-1

  • cifs-utils openSUSE Tumbleweed 6.15-1.1

opensuse advisories openSUSE-SU-2024:12087-1

  • cifs-utils Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 6.15-r0

alpine advisories ALPINE-CVE-2022-27239

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cifs-utils CBL-Mariner 2.0 6.14-2

azure linux advisories AZL-9587

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-27239 updated cvss 7.0

cifs-utils: stack-based buffer overflow mount.cifs may lead to local privilege escalation to root

  • Red Hat Enterprise Linux 6 cifs-utils
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 cifs-utils Red Hat Enterprise Linux 9 cifs-utils, pam_cifscreds
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux BaseOS (v. 8) cifs-utils 7.0-1.el8, pam_cifscreds 7.0-1.el8 Red Hat Enterprise Linux CRB (v. 8) cifs-utils-devel 7.0-1.el8, cifs-utils-debuginfo 7.0-1.el8, cifs-utils-debugsource 7.0-1.el8, pam_cifscreds-debuginfo 7.0-1.el8
    fixed: vendor fix RHBA-2023:3052

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.