# 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 attacke…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2022-04-27T00:00:00.000Z
- Modified: 2026-06-17T04:36:33.243Z
- Weaknesses: CWE-787
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- samba cifs-utils: before 6.15
- debian debian_linux: 9.0; 10.0; 11.0
- suse caas_platform: 4.0
- suse enterprise_storage: 6.0; 7.0
- suse linux_enterprise_point_of_service: 11.0
- suse linux_enterprise_storage: 7.1
- suse manager_proxy: 4.1; 4.2; 4.3
- suse manager_retail_branch_server: 4.1; 4.2; 4.3
- suse manager_server: 4.1; 4.2; 4.3
- suse openstack_cloud: 8.0; 9.0
- suse openstack_cloud_crowbar: 8.0; 9.0
- suse linux_enterprise_desktop: 15
- suse linux_enterprise_high_performance_computing: 12.0; 15.0
- suse linux_enterprise_micro: 5.2
- suse linux_enterprise_real_time: 15.0
- suse linux_enterprise_server: 11; 12; 15
- suse linux_enterprise_software_development_kit: 12
- hp helion_openstack: 8.0
- fedoraproject fedora: 34; 35; 36

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1197216> (issue-tracking, patch, third-party-advisory)
- <http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba> (third-party-advisory)
- <https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765> (patch, third-party-advisory)
- <https://bugzilla.samba.org/show_bug.cgi?id=15025> (issue-tracking, permissions-required, vendor-advisory)
- <https://github.com/piastry/cifs-utils/pull/7> (issue-tracking, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/> (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/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00020.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5157> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202311-05> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-27239](https://www.cve.org/CVERecord?id=CVE-2022-27239), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-27239](https://nvd.nist.gov/vuln/detail/CVE-2022-27239), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-27239 · Whole record: https://cve.day/CVE-2022-27239.json · Rebuilt by cve.day 2026-11-25T22:58:11.260Z
