{
  "id": "CVE-2022-0185",
  "url": "https://spydr.io/cve/CVE-2022-0185",
  "published": "2022-02-11T18:15:10.890Z",
  "modified": "2026-06-17T04:20:06.923Z",
  "score": 8.4,
  "severity": "high",
  "cvss_version": "3.1",
  "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
  "score_source": "NVD",
  "epss": 0.25151,
  "epss_percentile": 0.97882,
  "exploited": true,
  "kev": {
    "added": "2024-08-21",
    "due": "2024-09-11",
    "action": "Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.",
    "ransomware": "Unknown",
    "name": "Linux Kernel Heap-Based Buffer Overflow Vulnerability",
    "notes": "This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=722d94847de2; https://nvd.nist.gov/vuln/detail/CVE-2022-0185"
  },
  "ssvc_exploitation": "active",
  "vendors": [
    "linux"
  ],
  "products": [
    "kernel",
    "linux_kernel"
  ],
  "cwes": [
    "CWE-190",
    "CWE-191"
  ],
  "description": "A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system.",
  "status": "Analyzed",
  "score_type": "Primary",
  "scores": {
    "cvss_v40": null,
    "cvss_v31": 8.4,
    "cvss_v30": null
  },
  "references": [
    {
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2",
      "tags": [
        "Mailing List",
        "Patch"
      ]
    },
    {
      "url": "https://github.com/Crusaders-of-Rust/CVE-2022-0185",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://security.netapp.com/advisory/ntap-20220225-0003/",
      "tags": [
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.openwall.com/lists/oss-security/2022/01/18/7",
      "tags": [
        "Mailing List",
        "Patch",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.willsroot.io/2022/01/cve-2022-0185.html",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0185",
      "tags": [
        "US Government Resource"
      ]
    }
  ],
  "nvd_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0185",
  "covered_in": [],
  "attribution": [
    {
      "source": "NVD",
      "url": "https://nvd.nist.gov",
      "notice": "This product uses data from the NVD API but is not endorsed or certified by the NVD."
    },
    {
      "source": "CISA KEV",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "notice": "Known exploited vulnerabilities from the CISA KEV catalog."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss",
      "notice": "Exploit prediction scores from FIRST EPSS."
    }
  ]
}
