Vulnerability · CVE-2022-34918
An issue was discovered in the Linux kernel through 5.18.9.
Published Jul 4, 2022 · catalog updated Oct 14, 2026 · Linux Kernel
Patch now
CVE-2022-34918 is in the CISA known-exploited catalog. Confirm Linux Kernel against the vendor advisory and apply that fix. The CVSS score does not change the priority.
- Severity
- High7.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 5.45%
- Remediation
- Remediation guidance
- Affected products
- cpe canonical/ubuntu linux · cpe debian/debian linux · cpe linux/linux kernel · cpe netapp/h300s firmware · cpe netapp/h410s firmware · cpe netapp/h500s firmware
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe canonical/ubuntu linux14.04
- cpe debian/debian linux11.0
- cpe linux/linux kernelversion unspecified
- cpe netapp/h300s firmwareversion unspecified
- cpe netapp/h410s firmwareversion unspecified
- cpe netapp/h500s firmwareversion unspecified
- cpe netapp/h700s firmwareversion unspecified
- vendor Linux Kernelversion unspecified
How to fix CVE-2022-34918
Recommended remediation
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2022-34918 is in the CISA known-exploited catalog. Confirm Linux Kernel against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Compare what you have installed with canonical/ubuntu linux 14.04; debian/debian linux 11.0. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
What should an analyst verify?
CWE-843: Access of Resource Using Incompatible Type (Type Confusion). EPSS 5.45%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Jul 4, 2022 · NIST NVD
Detected
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_d
Feb 26, 2025 · CISA KEV
Known exploited
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Oct 14, 2026 · NIST NVD
Updated
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_d
Sources
- CVE.orgVulnerability recordCVE-2022-34918
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2022-34918
30-day exploitation probability 5.5%
first.org - Metasploit ModulesPublic exploit moduleexploit_linux/local/netfilter_nft_set_elem_init_privesc
Public module reference (average). Module source is not copied into this catalog.
rapid7.com - NIST NVDVulnerability recordCVE-2022-34918
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
nvd.nist.gov - Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/168191/Kernel-Live-Patch-Security-Notice-LSN-0089-1.html
Packet Storm link already published on the finding.
packetstormsecurity.com - Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html
Packet Storm link already published on the finding.
packetstormsecurity.com - VulnCheck KEVConfirmed exploitationCVE-2022-34918
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
vulncheck.com
References
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.