CVE-2022-34918 in Canonical Ubuntu Linux and 20 more products
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.
Affects 21 products from 5 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 20.04 22.04 |
| Debian | Debian Linux | 11.0 |
| Linux | Linux Kernel | ≥ 4.1, < 4.14.316 ≥ 4.15, < 4.19.284 ≥ 4.20, < 5.4.244 ≥ 5.5, < 5.10.130 ≥ 5.11, < 5.15.54 ≥ 5.16, < 5.18.11 |
| Netapp | H410S (device and firmware) | No version listed by the source |
| Netapp | H410C (device and firmware) | No version listed by the source |
| Netapp | H300S (device and firmware) | No version listed by the source |
| Netapp | H500S (device and firmware) | No version listed by the source |
| Netapp | H700S (device and firmware) | No version listed by the source |
| Siemens | SCALANCE XCH328 | < 2.4 |
| Siemens | SCALANCE XCM324 | < 2.4 |
| Siemens | SCALANCE XCM328 | < 2.4 |
| Siemens | SCALANCE XCM332 | < 2.4 |
| Siemens | SCALANCE XRH334 | < 2.4 |
| Siemens | SCALANCE XRM334 | < 2.4 |
| Siemens | SIMATIC S7-1500 Tm Mfp (device and firmware) | < 1.1 |
Fix and vendor advisory
- SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: Update to V1.1 or later version
Source: ICSA-23-166-11
- SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 7 more: Update to V2.4 or later version
Source: ICSA-24-046-11
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2022-34918 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-067509-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-07-04 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict user namespace policies and limit the capabilities of unprivileged users to prevent CAP_NET_ADMIN access. Regularly update the Linux kernel to the latest version to mitigate this vulnerability.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.