Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-27239
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:33 UTC · Revision 1

Source evidence

CVE-2022-27239

core-osv · Original source

Published 27 Apr 2022, 00:00 UTC

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.

osv:CVE-2022-27239
Complete source record
{
  "id": "b08cb8f306909f0f2f0b70f8dbfefcfd0e36f5d75d41d5eb6072f3b530012418",
  "url": "https://osv.dev/vulnerability/CVE-2022-27239",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-27239",
    "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.",
    "evidence": "osv:CVE-2022-27239",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-27239",
      "aliases": [
        "CVE-2022-27239"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/piastry/cifs-utils",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "58ca03f183b375cb723097a241bc2fc2254dab21"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.14"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:samba:cifs-utils:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "cifs-utils-6.14",
            "cifs-utils-6.13",
            "cifs-utils-6.12",
            "cifs-utils-6.11",
            "cifs-utils-6.10",
            "cifs-utils-6.9",
            "cifs-utils-6.8",
            "cifs-utils-6.7",
            "cifs-utils-6.6",
            "cifs-utils-6.5",
            "cifs-utils-6.4",
            "cifs-utils-6.3",
            "cifs-utils-6.2",
            "cifs-utils-6.1",
            "cifs-utils-6.0",
            "cifs-utils-5.9",
            "cifs-utils-5.8",
            "cifs-utils-5.7",
            "cifs-utils-5.6",
            "cifs-utils-5.5",
            "cifs-utils-5.4",
            "cifs-utils-5.3",
            "cifs-utils-5.2",
            "cifs-utils-5.1",
            "cifs-utils-5.0",
            "cifs-utils-4.9",
            "cifs-utils-4.8.1",
            "cifs-utils-4.8",
            "cifs-utils-4.7",
            "cifs-utils-4.6",
            "cifs-utils-4.5",
            "cifs-utils-4.4",
            "cifs-utils-4.3",
            "cifs-utils-4.2",
            "cifs-utils-4.1",
            "cifs-utils-4.0",
            "cifs-utils-4.0rc1",
            "release-4-0a1",
            "cifs-utils-4.0a1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27239.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.217037179Z",
      "provider": "osv",
      "references": [
        "https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27239.json",
        "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://nvd.nist.gov/vuln/detail/CVE-2022-27239",
        "https://security.gentoo.org/glsa/202311-05",
        "https://www.debian.org/security/2022/dsa-5157",
        "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://lists.debian.org/debian-lts-announce/2022/05/msg00020.html"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27239.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-27239",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 509122,
  "published_at": "2022-04-27T00:00:00+00:00"
}