CVE-2022-27239
CVE-2022-27239 is a high-severity vulnerability in Samba Cifs-utils with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 7.2
- EPSS exploit prediction: 1% (43rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Samba Cifs-utils
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-27239?
- 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.
- How severe is CVE-2022-27239?
- CVE-2022-27239 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-27239 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-27239?
- CVE-2022-27239 primarily affects Samba Cifs-utils. In total, 60 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-27239?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-27239 published?
- CVE-2022-27239 was published on 2022-04-27 and last updated on 2026-06-17.
References
- http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba
- https://bugzilla.samba.org/show_bug.cgi?id=15025
- https://bugzilla.suse.com/show_bug.cgi?id=1197216
- https://github.com/piastry/cifs-utils/pull/7
- https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765
- https://lists.debian.org/debian-lts-announce/2022/05/msg00020.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/
- https://security.gentoo.org/glsa/202311-05
- https://www.debian.org/security/2022/dsa-5157
Affected products (60)
- cpe:2.3:a:samba:cifs-utils:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:a:suse:caas_platform:4.0:*:*:*:*:*:*:*
- cpe:2.3:a:suse:enterprise_storage:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:suse:enterprise_storage:7.0:*:*:*:*:*:*:*
- cpe:2.3:a:suse:linux_enterprise_point_of_service:11.0:sp3:*:*:*:*:*:*
- cpe:2.3:a:suse:linux_enterprise_storage:7.1:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_proxy:4.1:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_proxy:4.2:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_proxy:4.3:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_retail_branch_server:4.1:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_retail_branch_server:4.2:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_retail_branch_server:4.3:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_server:4.1:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_server:4.2:*:*:*:*:*:*:*
- cpe:2.3:a:suse:manager_server:4.3:*:*:*:*:*:*:*
- cpe:2.3:a:suse:openstack_cloud:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:suse:openstack_cloud:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:suse:openstack_cloud_crowbar:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:suse:openstack_cloud_crowbar:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:suse:linux_enterprise_desktop:15:sp3:*:*:*:*:*:*
- cpe:2.3:o:suse:linux_enterprise_desktop:15:sp4:*:*:*:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:12.0:sp5:*:*:-:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:15.0:-:*:*:ltss:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:15.0:sp1:*:*:espos:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:15.0:sp1:*:*:ltss:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:15.0:sp2:*:*:espos:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:15.0:sp2:*:*:ltss:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:15.0:sp3:*:*:-:*:*:*
- cpe:2.3:o:suse:linux_enterprise_high_performance_computing:15.0:sp4:*:*:-:*:*:*
- cpe:2.3:o:suse:linux_enterprise_micro:5.2:*:*:*:*:-:*:*
- cpe:2.3:o:suse:linux_enterprise_micro:5.2:*:*:*:*:rancher:*:*
- cpe:2.3:o:suse:linux_enterprise_real_time:15.0:sp2:*:*:*:*:*:*
- cpe:2.3:o:suse:linux_enterprise_server:11:sp3:*:*:*:-:*:*
- cpe:2.3:o:suse:linux_enterprise_server:11:sp4:*:*:ltss:*:*:*
- cpe:2.3:o:suse:linux_enterprise_server:12:sp2:*:*:business_critical_linux:-:*:*
- cpe:2.3:o:suse:linux_enterprise_server:12:sp3:*:*:*:sap:*:*
- cpe:2.3:o:suse:linux_enterprise_server:12:sp3:*:*:business_critical_linux:-:*:*
More vulnerabilities in Samba Cifs-utils
- CVE-2021-20208 — Medium (CVSS 6.1): A flaw was found in cifs-utils in versions before 6.13. A user when mounting a krb5 CIFS file system from within a…
- CVE-2022-29869 — Medium (CVSS 5.3): cifs-utils through 6.14, with verbose logging, can cause an information leak when a file contains = (equal sign)…
- CVE-2020-14342 — Medium (CVSS 4.4): It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password, which could be used…
All CVEs affecting Samba Cifs-utils →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…