An issue was discovered in the Linux kernel through 5.18.9. A type confusion bug in nft_set_elem_init (leading to a buffer overflow) could be used by a local attacker to escalate privileges, a different vulnerability than CVE-2022-32250. (The attacker can obtain root access, but must start with an unprivileged user namespace to obtain CAP_NET_ADMIN access.) This can be fixed in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.
CVE-2022-34918
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2022-07-05. NVD baseline CVSS 7.8; sources differ by 0.0.
- Public exploit code is available (Metasploit, public exploit)
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- 66(Track)EG Risk 66/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation65% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 5%
- EPSS %ILE
- 92%
- KEV
- Not listed
Published
July 4, 2022
Last Modified
November 21, 2024
References (20)
- cve@mitrehttp://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html
- cve@mitrehttp://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html
- cve@mitrehttp://www.openwall.com/lists/oss-security/2022/07/05/1
- cve@mitrehttp://www.openwall.com/lists/oss-security/2022/08/06/5
- cve@mitrehttps://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6
- cve@mitrehttps://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u
- cve@mitrehttps://security.netapp.com/advisory/ntap-20220826-0004/
- cve@mitrehttps://www.debian.org/security/2022/dsa-5191
- cve@mitrehttps://www.openwall.com/lists/oss-security/2022/07/02/3
- cve@mitrehttps://www.randorisec.fr/crack-linux-firewall/
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2022/07/05/1
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2022/08/06/5
- af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6
Vendor Advisories for CVE-2022-34918(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(13)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | linux-image-lowlatency (5.15.0.43.41) @ jammy | 2026-05-25 | ubuntu |
| ubuntu | linux-oem-5.17-tools-5.17.0-1014 (5.17.0-1014.15) @ jammy | 2026-05-25 | ubuntu |
| ubuntu | linux-image-4.15.0-191-generic-lpae (4.15.0-191.202) @ bionic | 2026-05-25 | ubuntu |
| ubuntu | linux-tools-5.15.0-1013-intel-iotg (5.15.0-1013.17) @ jammy | 2026-05-25 | ubuntu |
| ubuntu | linux-tools-azure-fde (5.4.0.1089.94+cvm1.29) @ focal | 2026-05-25 | ubuntu |
| ubuntu | lowlatency (5.15.0-25) @ jammy | 2026-05-25 | ubuntu |
| ubuntu | linux-tools-aws-hwe (4.15.0.1139.126) @ xenial | 2026-05-25 | ubuntu |
| ubuntu | linux-modules-extra-5.15.0-1016-gcp (5.15.0-1016.21) @ jammy | 2026-05-25 | ubuntu |
| ubuntu | linux-image-ibm-edge (5.4.0.1031.45) @ bionic | 2026-05-25 | ubuntu |
| ubuntu | linux-image-lowlatency (4.4.0.230.236) @ xenial | 2026-05-25 | ubuntu |
| redhat | kpatch-patch | 2022-09-20 | redhat |
| redhat | kernel-0:5.14.0-70.26.1.el9_0 | 2022-09-20 | redhat |
| redhat | kernel-rt-0:5.14.0-70.26.1.rt21.98.el9_0 | 2022-09-20 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | 5.10.103-1 ... 5.10.92-2 (16 versions) | 5.10.127-2 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.18.14-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.18.14-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.18.14-1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(13)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2022-349182022-07-14
An issue was discovered in the Linux kernel through 5.18.9. A type confusion bug in nft_set_elem_init (leading to a buffer overflow) could be used by a local attacker to escalate privileges a different vulnerability than CVE-2022-32250. (The attacker can obtain root access but must start with an unprivileged user namespace to obtain CAP_NET_ADMIN access.) This can be fixed in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.
- Red HatRHSA-2022:6582IMPORTANT2022-07-02
RHSA-2022:6582 — Important
- Red HatRHSA-2022:6592IMPORTANT2022-07-02
RHSA-2022:6592 — Important
- UbuntuLSN-0089-1HIGH
Kernel Live Patch Security Notice
- UbuntuUSN-5540-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-5544-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-5545-1HIGH
Linux kernel (OEM) vulnerability
- UbuntuUSN-5560-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-5560-2HIGH
Linux kernel vulnerabilities
- UbuntuUSN-5562-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-5564-1HIGH
Linux kernel (Intel IoTG) vulnerabilities
- UbuntuUSN-5566-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-5582-1HIGH
Linux kernel (Azure CVM) vulnerabilities
Data Freshness Timeline
(refreshed 8× in last 7d / 32× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 157 total refreshes for this CVE.
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-05 10:14 UTCOSV refresh
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 20:11 UTCOSV refresh
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:39 UTCEPSS rescore
- 2026-08-10 14:08 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-03 16:27 UTCOSV refresh
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:33 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:12 UTCEG score recompute
- 2026-07-22 22:59 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-17 03:54 UTCOSV refresh
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 02:32 UTCOSV refresh
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
Publicly available exploits
(5 references)Working exploit code is in the public domain (1 Metasploit module) (4 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCveritas501/CVE-2022-34918First seen Aug 2, 2022
CVE-2022-34918 netfilter nf_tables 本地提权 POC
Open source ↗ - Open source ↗GitHub PoCmerlinepedra25/CVE-2022-34918-LPE-PoCFirst seen Jul 24, 2022
- Open source ↗GitHub PoCmerlinepedra/CVE-2022-34918-LPE-PoCFirst seen Jul 24, 2022
- Open source ↗GitHub PoCrandorisec/CVE-2022-34918-LPE-PoCFirst seen Jul 19, 2022
- Metasploitexploit/linux/local/netfilter_nft_set_elem_init_privesc✓ verifiedFirst seen Feb 7, 2022
Netfilter nft_set_elem_init Heap Overflow Privilege Escalation
Open source ↗
Frequently asked(5)
What is CVE-2022-34918?
When was CVE-2022-34918 disclosed?
Is CVE-2022-34918 actively exploited?
What is the CVSS score of CVE-2022-34918?
How do I remediate CVE-2022-34918?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-34918
Is Your Infrastructure Affected by CVE-2022-34918?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.