{"id":"CVE-2022-0185","published":"2022-02-11T18:15:10Z","modified":"2026-06-17T04:20:06Z","title":"Linux Kernel Heap-Based Buffer Overflow Vulnerability","vendor":"Linux","product":"Kernel","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The Linux kernel's Filesystem Context functionality, specifically the legacy_parse_param function, contains a heap-based buffer overflow caused by improper verification of the length of supplied parameters. An attacker who is a local user can exploit this by opening a filesystem that does not support the Filesystem Context API, which forces the kernel onto the legacy handling path; if unprivileged user namespaces are enabled, no special privilege is needed, otherwise the attacker requires namespaced CAP_SYS_ADMIN, and successful exploitation allows privilege escalation on the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:10:42Z"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.25151,"percentile":0.97927,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2024-08-21","dueDate":"2024-09-11","ransomware":false,"requiredAction":"Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.","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","provenance":"source"},"vulncheckKev":{"dateAdded":"2024-03-21","exploitedFirstSeen":"2024-03-21","ransomware":false,"evidence":[{"url":"https://cloud.google.com/blog/topics/threat-intelligence/initial-access-brokers-exploit-f5-screenconnect","date":"2024-03-21"},{"url":"https://www.mandiant.com/resources/blog/initial-access-brokers-exploit-f5-screenconnect","date":"2024-03-21"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2024-08-21"},{"url":"https://unit42.paloaltonetworks.com/cve-2025-55182-react-and-cve-2025-66478-next/","date":"2025-12-12"}],"evidenceTotal":4,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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://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"]}],"techniques":[{"id":"T1068","name":"Exploitation for Privilege Escalation","tactics":["privilege-escalation"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Local unprivileged user exploits kernel flaw","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user","start":188,"end":316}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-15389","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15389","exploited":true,"exploitedSince":"2024-08-21","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":8,"skipped":3,"earliest":"2022-01-19","earliestUrl":"https://github.com/Crusaders-of-Rust/CVE-2022-0185","repos":[{"name":"Crusaders-of-Rust/CVE-2022-0185","url":"https://github.com/Crusaders-of-Rust/CVE-2022-0185","stars":378,"created":"2022-01-19"},{"name":"chenaotian/CVE-2022-0185","url":"https://github.com/chenaotian/CVE-2022-0185","stars":37,"created":"2022-02-18"},{"name":"veritas501/CVE-2022-0185-PipeVersion","url":"https://github.com/veritas501/CVE-2022-0185-PipeVersion","stars":16,"created":"2022-04-05"},{"name":"discordianfish/cve-2022-0185-crash-poc","url":"https://github.com/discordianfish/cve-2022-0185-crash-poc","stars":5,"created":"2022-01-26"},{"name":"featherL/CVE-2022-0185-exploit","url":"https://github.com/featherL/CVE-2022-0185-exploit","stars":3,"created":"2022-04-14"}]},"first":{"date":"2022-01-19","source":"PoC-in-GitHub","url":"https://github.com/Crusaders-of-Rust/CVE-2022-0185"},"provenance":"source"},"exploitRefs":["https://github.com/Crusaders-of-Rust/CVE-2022-0185","https://www.willsroot.io/2022/01/cve-2022-0185.html"],"flow":[{"stage":"exploitation","techniques":["T1068"],"provenance":"ai"}],"timeline":[{"date":"2022-01-19","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/Crusaders-of-Rust/CVE-2022-0185","provenance":"source"},{"date":"2022-02-11","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0185","provenance":"source"},{"date":"2024-03-21","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://cloud.google.com/blog/topics/threat-intelligence/initial-access-brokers-exploit-f5-screenconnect","provenance":"source"},{"date":"2024-08-21","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2024-08-21","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15389","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":922},"priority":{"score":68.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 952 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.59,"detail":"percentile 0.9793"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 8 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":5.88,"detail":"base score 8.4"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-class-linux-kernel-cwe-190"}}