Linux Kernel Heap-Based Buffer Overflow Vulnerability
n/a — kernel
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.
8.4
25.2%
Vector breakdown
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- Feb 11, 2022
- Modified
- Jun 17, 2026
- Added to KEV
- Aug 21, 2024
- Federal patch due
- Sep 11, 2024
CISA required action
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
Weakness classification
Proof-of-concept & exploitation references
8 foundWeaponization
Public repositories whose name or description references CVE-2022-0185, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.
- Crusaders-of-Rust/CVE-2022-0185★ 378
CVE-2022-0185
updated Sep 25, 2026
- chenaotian/CVE-2022-0185★ 37
CVE-2022-0185 POC and Docker and Analysis write up
updated May 13, 2026
- veritas501/CVE-2022-0185-PipeVersion★ 16
CVE-2022-0185 exploit rewritten with pipe primitive
updated May 13, 2026
- discordianfish/cve-2022-0185-crash-poc★ 5
updated Oct 4, 2025
- featherL/CVE-2022-0185-exploit★ 3
CVE-2022-0185 exploit
updated Nov 3, 2022
- chenaotian/CVE-2022-25636★ 3
CVE-2022-0185 analysis write up
updated Aug 5, 2022
- dcheng69/CVE-2022-0185-Case-Study★ 3
updated Feb 28, 2026
- khaclep007/CVE-2022-0185★ 0
updated Jan 27, 2022
References
Frequently asked questions
What is CVE-2022-0185?
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.
How severe is CVE-2022-0185?
CVE-2022-0185 has a CVSS base score of 8.4 out of 10 (CVSS 3.1).
Is CVE-2022-0185 actively exploited in the wild?
Yes. CVE-2022-0185 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added Aug 21, 2024, meaning CISA has confirmed evidence of active exploitation.
What is the EPSS score for CVE-2022-0185?
25.2% - meaning FIRST.org's EPSS model estimates a 25.2% probability this vulnerability will be exploited in the wild within 30 days (98% percentile among all scored CVEs).
Is there exploit tooling available for CVE-2022-0185?
We found 8 public GitHub repositories referencing CVE-2022-0185, though none matched a known Nuclei template or Metasploit module at last check. Review each one before relying on it - see the proof-of-concept section above.
What type of vulnerability is CVE-2022-0185?
CVE-2022-0185 is classified under CWE-190, CWE-191 (Integer Overflow or Wraparound CWE-190).
Cross-checked against
Impactr finds and proves whether CVE-2022-0185 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.
Join the waitlist