Skip to content
Fencer Vulns
high 7.8

CVE-2022-34918 json

An issue was discovered in the Linux kernel through 5.18.9.

published 2022-07-04 4 y ago modified 2026-10-14 25 d ago also EUVD-2022-37820

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.5%
EPSS 5.5% chance of exploitation in 30 days, percentile 92%
public exploits
1
Metasploit

Summary

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.

Patch / fix

  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1
  • linux Debian 14, Debian 13, Debian 12 5.18.14-1

debian advisories DEBIAN-CVE-2022-34918

  • linux Ubuntu 18.04 LTS 4.15.0-191.202
  • linux Ubuntu 20.04 LTS 5.4.0-124.140
  • linux Ubuntu 22.04 LTS 5.15.0-43.46
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1139.150
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1083.90
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1017.21
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1086.94
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1016.21

ubuntu advisories UBUNTU-CVE-2022-34918

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kpatch-patch-5_14_0-70_13_1 RHEL 9 1-2.el9_0
  • kpatch-patch-5_14_0-70_17_1 RHEL 9 1-1.el9_0
  • kpatch-patch-5_14_0-70_22_1 RHEL 9 1-1.el9_0
  • kernel-rt RHEL 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-kvm RHEL 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-core RHEL 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-modules RHEL 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-debug-kvm RHEL 9 5.14.0-70.26.1.rt21.98.el9_0

red hat advisories RHSA-2022:6592RHSA-2022:6582RHSA-2022:6610

  • kernel-azure SLE Module for Public Cloud 15 SP4, openSUSE Leap 15.4 5.14.21-150400.14.7.1
  • kernel-syms-azure SLE Module for Public Cloud 15 SP4, openSUSE Leap 15.4 5.14.21-150400.14.7.1
  • kernel-source-azure SLE Module for Public Cloud 15 SP4, openSUSE Leap 15.4 5.14.21-150400.14.7.1
  • dtb-aarch64 openSUSE Leap 15.4, openSUSE Leap 15.3 5.3.18-150300.59.87.1
  • kernel-64kb SLE Module for Basesystem 15 SP3, openSUSE Leap 15.3 5.3.18-150300.59.87.1
  • kernel-syms SLE Module for Development Tools 15 SP3, openSUSE Leap 15.3 5.3.18-150300.59.87.1
  • kernel-obs-qa openSUSE Leap 15.3 5.3.18-150300.59.87.1
  • kernel-source SLE Module for Development Tools 15 SP3, SLE Module for Basesystem 15 SP3, openSUSE Leap 15.3 5.3.18-150300.59.87.1

suse advisories SUSE-SU-2022:2854-1SUSE-SU-2022:2770-1SUSE-SU-2022:2766-1SUSE-SU-2022:2759-1SUSE-SU-2022:2738-1SUSE-SU-2022:2732-1

  • kernel-source openSUSE Tumbleweed 5.18.9-2.1
  • kernel-source openSUSE Tumbleweed 6.6.17-1.1
  • kernel-default openSUSE Leap Micro 5.2 5.3.18-150300.59.87.1
  • kernel-default-base openSUSE Leap Micro 5.2 5.3.18-150300.59.87.1.150300.18.50.2

opensuse advisories openSUSE-SU-2024:12181-1openSUSE-SU-2024:13704-1openSUSE-SU-2022:2549-1

  • kernel-rt AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-kvm AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-core AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-modules AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-debug-kvm AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-debug-core AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-debug-modules AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0
  • kernel-rt-modules-extra AlmaLinux 9 5.14.0-70.26.1.rt21.98.el9_0

almalinux advisories ALSA-2022:6582ALSA-2022:6610

  • kernel CBL-Mariner 2.0 5.15.55.1-1

azure linux advisories AZL-10075

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-34918 updated cvss 7.8

kernel: heap overflow in nft_set_elem_init()

  • Red Hat CodeReady Linux Builder (v. 9) kernel-debuginfo-common-s390x 5.14.0-70.26.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.26.1.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.26.1.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.26.1.el9_0 Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-70.26.1.el9_0, kernel-devel-matched 5.14.0-70.26.1.el9_0, kernel-debug-devel-matched 5.14.0-70.26.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.26.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.26.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.26.1.el9_0, +2 more Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-70.26.1.el9_0, bpftool 5.14.0-70.26.1.el9_0, kernel-core 5.14.0-70.26.1.el9_0, kernel-tools 5.14.0-70.26.1.el9_0, python3-perf 5.14.0-70.26.1.el9_0, kernel-modules 5.14.0-70.26.1.el9_0, +17 more
    fixed: vendor fix RHSA-2022:6610
  • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-core 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-modules 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-debug-core 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-debug-modules 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-modules-extra 5.14.0-70.26.1.rt21.98.el9_0, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-kvm 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-core 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-modules 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-debug-kvm 5.14.0-70.26.1.rt21.98.el9_0, kernel-rt-debug-core 5.14.0-70.26.1.rt21.98.el9_0, +4 more
    fixed: vendor fix RHSA-2022:6582
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-166-11 updated cvss 7.8

Siemens SIMATIC S7-1500 TM MFP Linux Kernel

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-046-11 updated cvss 7.8

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Timeline

  1. First public exploit (Metasploit exploit/linux/local/netfilter_nft_set_elem_init_privesc)
  2. Published

Exploit prediction

5.45% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Metasploit exploit/linux/local/netfilter_nft_set_elem_init_privesc Netfilter nft_set_elem_init Heap Overflow Privilege Escalation metasploit exploit, average rank, 2022-02-07
  • openwall.com https://www.openwall.com/lists/oss-security/2022/07/02/3 referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://www.openwall.com/lists/oss-security/2022/07/05/1 referenced PoC, tagged "exploit" by a source, unverified
  • randorisec.fr https://www.randorisec.fr/crack-linux-firewall/ referenced PoC, tagged "exploit" by a source, unverified
  • packetstormsecurity.com http://packetstormsecurity.com/files/168543/Netfilter-nft_set_elem_init-Heap-Overflow-Privilege-Escalation.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem

Classification

Weakness
  • CWE-843 Access of Resource Using Incompatible Type
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.