CVE-2022-34918
HIGH 7.8EPSS 5.5%
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.
- CVSS v3.1 NVD
- 7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0 NVD
- 7.2 HIGH
AV:L/AC:L/Au:N/C:C/I:C/A:C - EPSS
- 5.45% chance of exploitation in the next 30 days, 93rd percentile
- Published
- 2022-07-04
- Updated
- 2026-10-14
Proof-of-concept exploits (10)
- http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Pri…
- http://www.openwall.com/lists/oss-security/2022/07/05/1
- https://www.openwall.com/lists/oss-security/2022/07/02/3
- hardenedvault/vault_range_poc47★ · 2025-04-05
- linulinu/CVE-2022-349180★ · 2022-07-25
- merlinepedra/CVE-2022-34918-LPE-PoC2★ · 2022-07-24
- merlinepedra25/CVE-2022-34918-LPE-PoC3★ · 2022-07-24
- randorisec/CVE-2022-34918-LPE-PoC244★ · 2022-09-06
- veritas501/CVE-2022-34918217★ · 2022-09-15
- MPI-SysSec/Heap-Localization8★ · 2026-06-03
Metasploit modules (1)
Security advisories
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30…
- http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1…
- http://www.openwall.com/lists/oss-security/2022/08/06/5
- https://security.netapp.com/advisory/ntap-20220826-0004
- https://www.debian.org/security/2022/dsa-5191
- https://www.randorisec.fr/crack-linux-firewall