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-…
Mitigation
- Upgrade linux to 5.19.2 or later.
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
Vulnerability facts
- 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 Organization linux 5.19.2
- Exploited in the wild
- Yes: in CISA KEV since 2024-06-26; federal due date 2024-07-17
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 1.77% chance of exploitation in 30 days (percentile 79, 2026-11-26)
- CWE
- CWE-416
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
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 Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Exploits and PoCs
Other
- https://ubuntu.com/security/notices/USN-5564-1
- https://ubuntu.com/security/notices/USN-5560-2
- https://ubuntu.com/security/notices/USN-5582-1
- https://ubuntu.com/security/notices/USN-5567-1
- https://ubuntu.com/security/notices/USN-5560-1
- https://ubuntu.com/security/notices/USN-5566-1
- https://www.openwall.com/lists/oss-security/2022/08/09/5
- https://ubuntu.com/security/notices/USN-5565-1
- https://www.zerodayinitiative.com/advisories/ZDI-22-1118/
- https://ubuntu.com/security/notices/USN-5562-1
- https://ubuntu.com/security/notices/USN-5557-1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-2586
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html
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.