cifs-utils: stack-based buffer overflow mount.cifs may lead to local privilege escalation to root
Published Apr 27, 2022
7.8
HIGHCVSS 3.1
EPSS 0.58%
Description
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.
Affected products
No data.
Configuration 1
- < 6.15
Configuration 2
- 9.0
- 10.0
- 11.0
Configuration 3
- 4.0
- 6.0
- 7.0
- 11.0
- 7.1
- 4.1
- 4.2
- 4.3
- 4.1
- 4.2
- 4.3
- 4.1
- 4.2
- 4.3
- 8.0
- 9.0
- 8.0
- 9.0
- 15
- 15
- 12.0
- 15.0
- 15.0
- 15.0
- 15.0
- 15.0
- 15.0
- 15.0
- 5.2
- 5.2
- 15.0
- 11
- 11
- 12
- 12
- 12
- 12
- 12
- 12
- 12
- 12
- 12
- 15
- 15
- 15
- 15
- 15
- 15
- 15
- 15
- 15
- 12
Configuration 4
- 8.0
Configuration 5
- 34
- 35
- 36
No data.
Red Hat Enterprise Linux 8
cifs-utils-0:7.0-1.el8
Fixed · RHBA-2023:3052
Red Hat Enterprise Linux 6
cifs-utils
Out of support scope
Red Hat Enterprise Linux 7
cifs-utils
Will not fix
Red Hat Enterprise Linux 9
cifs-utils
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | cifs-utils-0:7.0-1.el8 | Fixed | RHBA-2023:3052 |
| Red Hat Enterprise Linux 6 | cifs-utils | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | cifs-utils | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | cifs-utils | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The mount.cifs binary file is shipped without setuid privileges as default which prevents an attacker to gain root privileges hence lowering the flaw impact.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2022-2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 0.58% (0.00576) | 45.54th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.55% (0.00551) | 41.50th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.07% (0.00074) | 19.98th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.10% (0.00095) | 41.73th | v3 (v2023.03.01) |
| Jul 11, 2024 | 0.10% (0.00095) | 40.46th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.10% (0.00095) | 38.45th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.28% (0.01282) | 68.29th | v2 (v2022.01.01) |
| May 17, 2022 | 1.28% (0.01282) | 66.28th | v2 (v2022.01.01) |
| May 9, 2022 | 1.10% (0.01104) | 50.87th | v2 (v2022.01.01) |
| May 7, 2022 | 1.03% (0.01034) | 38.31th | v2 (v2022.01.01) |
| Apr 28, 2022 | 0.95% (0.00950) | 28.93th | v2 (v2022.01.01) |
References (15)
- http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2022-27239 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2081040 Issue Tracking
- https://bugzilla.samba.org/show_bug.cgi?id=15025 Issue TrackingPermissions RequiredVendor Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1197216 Issue TrackingPatchThird Party Advisory
- https://github.com/piastry/cifs-utils/pull/7 Issue TrackingPatchThird Party Advisory
- https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765 PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00020.html mailing-listMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/ vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-27239
- https://security.gentoo.org/glsa/202311-05 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2022-27239
- https://www.debian.org/security/2022/dsa-5157 vendor-advisoryThird Party Advisory
Change history (0)
No recorded changes yet.