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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.57% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 47.2% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-04-27 00:00Z4 YR AGO
- Last updated
- 2024-08-03 05:25Z2 YR AGO
- Reserved
- 2022-03-18
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-787Out-of-bounds WriteBase
- Data version
- 5.1
- Document digest
- 1eee8e713e7701f099b73737f9a99107937259715a43d3801ebcb066aae6b144
05 Affected products
06 References
- bugzilla.suse.comhttps://bugzilla.suse.com/show_bug.cgi?id=1197216
- wiki.robotz.comhttp://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba
- github.comhttps://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765
- bugzilla.samba.orghttps://bugzilla.samba.org/show_bug.cgi?id=15025
- github.comhttps://github.com/piastry/cifs-utils/pull/7
- lists.fedoraproject.orgFEDORA-2022-eb2d3ca94dhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIYZ4L6SLSYJQ446VJAO2VGAESURQNSP/
- lists.fedoraproject.orgFEDORA-2022-7fda04ab5ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HXKZLJYJJEC3TIBFLXUORRMZUKG5W676/
- lists.fedoraproject.orgFEDORA-2022-34de4f833dhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5WBOLMANBYJILXQKRRK7OCR774PXJAYY/
- lists.debian.org[debian-lts-announce] 20220516 [SECURITY] [DLA 3009-1] cifs-utils security updatehttps://lists.debian.org/debian-lts-announce/2022/05/msg00020.html
- www.debian.orgDSA-5157https://www.debian.org/security/2022/dsa-5157
- security.gentoo.orgGLSA-202311-05https://security.gentoo.org/glsa/202311-05
07 Fixed in
Debian 12
- cifs-utils Fixed in 2:6.14-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- cifs-utils Fixed in 2:6.14-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- cifs-utils Fixed in 2:6.14-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- cifs-utils Fixed in 2:6.8-1ubuntu1.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- cifs-utils Fixed in 2:6.9-1ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- cifs-utils Fixed in 2:6.14-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- cifs-utils Fixed in 2:6.0-1ubuntu2+esm1Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- cifs-utils Fixed in 2:6.4-1ubuntu1.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.