Home / Linux Kernel / Kernel / CVE-2022-2785
CVE-2022-2785: is it exploited, and which versions of Linux Kernel Kernel are affected and fixed?
CVE-2022-2785 is an out-of-bounds read vulnerability in Linux Kernel Kernel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: Kernel from 5.14 before af2ac3e13e45 and Kernel from 5.18 before b1d18a7574d0 (CVE record by Google). Fixed in 5.19.4 (NVD). Severity: Medium (6.7, CVSS 3.1, from Google).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-2785?
Arbitrary Memory read in BPF Linux Kernel
There exists an arbitrary memory read within the Linux Kernel BPF - Constants provided to fill pointers in structs passed in to bpf_sys_bpf are not verified and can point anywhere, including memory not owned by BPF. An attacker with CAP_BPF can arbitrarily read memory from anywhere on the system. We recommend upgrading past commit 86f44fcec22c
From the CVE record by Google, last updated April 21, 2025, 13:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux Kernel | Kernel | from 5.14 before af2ac3e13e45 from 5.18 before b1d18a7574d0 |
As the CVE record by Google states it, last updated April 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | before 5.19.4 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:42 UTC.
How severe is CVE-2022-2785?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-2785 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 21, 2025)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 19.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://git.kernel.org/bpf/bpf/c/86f44fcec22c x_refsource_MISC
- https://lore.kernel.org/bpf/20220816205517.682470-1-zhuyifei%40google.com/T/#t x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 11, 2022
- Published
- September 23, 2022, 11:10 UTC
- CVE record updated
- April 21, 2025, 13:49 UTC by Google
- NVD
- Analyzed, last modified June 17, 2026, 04:42 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Kernel?
- Jan 26, 2022CVE-2021-22600 Linux Kernel Kernel: double free exploited
- Sep 16, 2020CVE-2020-14386 Linux Kernel kernel: out-of-bounds write (memory corruption)
- Sep 16, 2020CVE-2020-10781 Linux Kernel kernel: incorrect permissions on a critical resource
- Sep 15, 2020CVE-2020-10768 Linux Kernel kernel: expected Behavior Violation
- Sep 15, 2020CVE-2020-10767 Linux Kernel kernel: expected Behavior Violation
- Sep 15, 2020CVE-2020-10766 Linux Kernel kernel: expected Behavior Violation
- Sep 15, 2020CVE-2020-14385 Linux Kernel kernel: incorrect Calculation of Buffer Size
- Sep 15, 2020CVE-2020-14304 Linux Kernel kernel: improper Cleanup on Thrown Exception
Questions about CVE-2022-2785
Is CVE-2022-2785 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux Kernel Kernel are affected by CVE-2022-2785?
Kernel from 5.14 before af2ac3e13e45 and Kernel from 5.18 before b1d18a7574d0, per the CVE record by Google. The tables above give every range the sources list.
Which version fixes CVE-2022-2785?
5.19.4, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-2785?
Medium (6.7, CVSS 3.1, from Google). The severity table above shows each score with its source.
Where is the official record of CVE-2022-2785?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.