# CVE-2022-34918: An issue was discovered in the Linux kernel through 5.18.9.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.32%, higher than 89% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2022-07-04T20:07:32.000Z
- Modified: 2026-10-14T17:17:40.583Z
- Weaknesses: CWE-843
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 4.1 before 4.14.316; from 4.15 before 4.19.284; from 4.20 before 5.4.244; from 5.5 before 5.10.130; from 5.11 before 5.15.54; from 5.16 before 5.18.11
- debian debian_linux: 11.0
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 20.04; 22.04
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://www.openwall.com/lists/oss-security/2022/07/02/3> (exploit, mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/07/05/1> (exploit, mailing-list, third-party-advisory)
- <https://www.randorisec.fr/crack-linux-firewall/> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html> (exploit, third-party-advisory, vdb-entry)
- <https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6> (mailing-list, patch, vendor-advisory)
- <https://lore.kernel.org/netfilter-devel/cd9428b6-7ffb-dd22-d949-d86f4869f452%40randorisec.fr/T/#u>
- <https://www.debian.org/security/2022/dsa-5191> (third-party-advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/08/06/5> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220826-0004/> (third-party-advisory)
- <http://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html> (third-party-advisory, vdb-entry)
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-806742.html>

## Sources

- CVE List: [CVE-2022-34918](https://www.cve.org/CVERecord?id=CVE-2022-34918), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-34918](https://nvd.nist.gov/vuln/detail/CVE-2022-34918), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-34918 · Whole record: https://cve.day/CVE-2022-34918.json · Rebuilt by cve.day 2026-11-25T22:58:12.706Z
