CVE-2022-50213: netfilter: nf_tables: do not allow SET_ID to refer to another table
Vulnerability summary
CVE-2022-50213 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 7Timeline
- 18-06-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not allow SET_ID to refer to another table When doing lookups for sets on the same batch by using its ID, a set from a different table can be used. Then, when the table is removed, a reference to the set may be kept after the set is freed, leading to a potential use-after-free. When looking for sets by ID, use the table that was used for the lookup by name, and only return sets belonging to that same table. This fixes CVE-2022-2586, also reported as ZDI-CAN-17470.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu117 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 958bee14d0718ca7a5002c0f48a099d1d345812a, < 77d3b5038b7462318f5183e2ad704b01d57215a2 | ≥ 958bee14d0718ca7a5002c0f48a099d1d345812a, < fab2f61cc3b0e441b1749f017cfee75f9bbaded7 | ≥ 958bee14d0718ca7a5002c0f48a099d1d345812a, < 1a4b18b1ff11ba26f9a852019d674fde9d1d1cff | ≥ 958bee14d0718ca7a5002c0f48a099d1d345812a, < faafd9286f1355c76fe9ac3021c280297213330e | ≥ 958bee14d0718ca7a5002c0f48a099d1d345812a, < f4fa03410f7c5f5bd8f90e9c11e9a8c4b526ff6f | ≥ 958bee14d0718ca7a5002c0f48a099d1d345812a, < 0d07039397527361850c554c192e749cfc879ea9 | ≥ 958bee14d0718ca7a5002c0f48a099d1d345812a, < 470ee20e069a6d05ae549f7d0ef2bdbcee6a81b2 | 3.16
- linux_kernel≥ 3.16, < 4.19.256 | ≥ 4.20, < 5.4.211 | ≥ 5.5, < 5.10.137 | ≥ 5.11, < 5.15.61 | ≥ 5.16, < 5.18.18 | ≥ 5.19, < 5.19.2
Debian1 product
- linux< 6.0.2-1
3 vendors · 120 products