# CVE-2022-2586: It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2024-06-26; federal due date 2024-07-17
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.77% (percentile 79, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-01-08T17:46:06.110Z
- **Modified:** 2026-10-14T18:25:45.050Z

## Who should check

- Anyone running The Linux Kernel Organization linux \>= 3.16, \< 4.14.316; \>= 4.15, \< 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

## Description

It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that table was deleted.

## Affected and fixed versions

- The Linux Kernel Organization linux: \>= 3.16, \< 4.14.316; \>= 4.15, \< 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 (cvelist)

## Mitigation

- Upgrade linux to 5.19.2 or later.

## Timeline

- 2024-01-08: Published
- 2024-06-26: Added to CISA KEV (exploited in the wild)
- 2024-07-17: CISA remediation due date for US federal agencies
- 2026-10-14: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-2586. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-2586.md
Affected: The Linux Kernel Organization linux >= 3.16, < 4.14.316; >= 4.15, < 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
Fixed in: The Linux Kernel Organization linux 4.14.316, The Linux Kernel Organization linux 4.19.256, The Linux Kernel Organization linux 5.4.211, The Linux Kernel Organization linux 5.10.137, The Linux Kernel Organization linux 5.15.61, The Linux Kernel Organization linux 5.18.18, The Linux Kernel Organizat…

Steps:
1. Search this machine and project for The Linux Kernel Organization linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-2586 being exploited?

Yes. CISA lists CVE-2022-2586 in its Known Exploited Vulnerabilities catalog since 2024-06-26, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 1.77% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-2586?

Medium: CVSS 5.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2022-2586?

The Linux Kernel Organization linux \>= 3.16, \< 4.14.316; \>= 4.15, \< 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.

### Is there a fix for CVE-2022-2586?

Yes. Fixed in The Linux Kernel Organization linux 4.14.316, The Linux Kernel Organization linux 4.19.256, The Linux Kernel Organization linux 5.4.211, The Linux Kernel Organization linux 5.10.137, The Linux Kernel Organization linux 5.15.61, The Linux Kernel Organization linux 5.18.18, The Linux Kernel Organization linux 5.19.2. Upgrade linux to 5.19.2 or later.

### How do I check if I'm affected by CVE-2022-2586?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://lore.kernel.org/netfilter-devel/20220809170148.164591-1-cascardo@canonical.com/T/#t>
- exploit: <https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586>
- other: <https://ubuntu.com/security/notices/USN-5564-1>
- other: <https://ubuntu.com/security/notices/USN-5560-2>
- other: <https://ubuntu.com/security/notices/USN-5582-1>
- other: <https://ubuntu.com/security/notices/USN-5567-1>
- other: <https://ubuntu.com/security/notices/USN-5560-1>
- other: <https://ubuntu.com/security/notices/USN-5566-1>
- other: <https://www.openwall.com/lists/oss-security/2022/08/09/5>
- other: <https://ubuntu.com/security/notices/USN-5565-1>
- other: <https://www.zerodayinitiative.com/advisories/ZDI-22-1118/>
- other: <https://ubuntu.com/security/notices/USN-5562-1>
- other: <https://ubuntu.com/security/notices/USN-5557-1>
- other: <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-2586>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-806742.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-2586>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2022-2586> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-2586>
