{
  "crds_version": "0.1",
  "kind": "base",
  "id": "crds:cve-2022-0185",
  "revision": 1,
  "title": "Linux kernel — heap overflow in the filesystem context parser",
  "summary": "legacy_parse_param() does not check how long a mount parameter is, so a local user who can open a filesystem that predates the newer context interface overflows the heap and takes over the machine. Working exploits are published.",
  "source_type": "cve",
  "severity": "high",
  "cvss": {
    "score": 8.4,
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "version": "3.1"
  },
  "epss": 0.25151,
  "exploitation": {
    "known_exploited": true,
    "exploit_available": true,
    "attack_complexity": "low",
    "kev_added": "2024-08-21",
    "prerequisites": "Local access, plus either unprivileged user namespaces or the namespaced system-admin capability."
  },
  "remediation": {
    "patch_available": true
  },
  "mitre_attack": [
    "T1068"
  ],
  "kill_chain": "privilege_escalation",
  "recommended_action": "Patch the kernel to your distribution's fixed build. Where that has to wait, restrict unprivileged user namespaces — the public exploits depend on them.",
  "confidence": "medium",
  "provenance": [
    {
      "fields": [
        "cvss",
        "exploitation.attack_complexity",
        "exploitation.exploit_available",
        "references",
        "published_at"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2022-0185",
      "retrieved_at": "2026-09-24T12:52:19.575Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "exploitation.known_exploited",
        "exploitation.kev_added"
      ],
      "source": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "retrieved_at": "2026-09-24T12:52:19.575Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "epss"
      ],
      "source": "https://api.first.org/data/v1/epss?cve=CVE-2022-0185",
      "retrieved_at": "2026-09-24T12:52:19.575Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "title",
        "summary",
        "severity",
        "remediation",
        "mitre_attack",
        "kill_chain",
        "recommended_action",
        "confidence",
        "tags",
        "exploitation.prerequisites"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2022-0185",
      "retrieved_at": "2026-09-24T12:52:19.575Z",
      "confidence": "high",
      "extractor": "claude-code"
    }
  ],
  "references": [
    {
      "type": "cve",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0185",
      "label": "NVD record"
    },
    {
      "type": "cisa",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "label": "CISA Known Exploited Vulnerabilities catalog"
    },
    {
      "type": "vendor_advisory",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=722d94847de2"
    },
    {
      "type": "vendor_advisory",
      "url": "https://www.openwall.com/lists/oss-security/2022/01/18/7"
    },
    {
      "type": "exploit",
      "url": "https://github.com/Crusaders-of-Rust/CVE-2022-0185"
    }
  ],
  "published_at": "2022-02-11T18:15:10.890Z",
  "issued_at": "2026-09-24T12:52:19.575Z",
  "tags": [
    "linux",
    "kernel",
    "heap-overflow",
    "privilege-escalation",
    "kev"
  ]
}
