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.
- High severity, but no confirmed exploitation yet
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
- 91.9%
- 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.
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 14× in last 7d / 50× 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 106 total refreshes for this CVE.
- 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
Show 75 moreShow fewer
- 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
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 22:25 UTCOSV refresh
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 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 ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-843
- CVE-2018-9471NVD 7.8EG 9.8HIGH
- CVE-2016-1000005EG 9.8CRITICAL
- CVE-2019-14537EG 9.8EPSS 93%CRITICAL
- CVE-2019-10231EG 9.8CRITICAL
- CVE-2018-4920NVD 8.8EG 9.8EPSS 94%HIGH
- CVE-2012-0507EG 9.8 KEVEPSS 100%CRITICAL
- CVE-2019-17026NVD 8.8EG 9.0 KEVEPSS 99%HIGH
- CVE-2019-11707NVD 8.8EG 9.0 KEVEPSS 98%HIGH
- CVE-2019-0752NVD 7.5EG 9.0 KEVEPSS 100%HIGH
- CVE-2018-8298NVD 7.5EG 9.0 KEVEPSS 99%HIGH
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
Explore the affected products and dependency analysis for 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.