Known Exploited Vulnerability
7.8
HIGH CVSS 3.1
CVE-2022-2586
Linux Kernel Use-After-Free Vulnerability - [Actively Exploited]
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.

INFO

Published Date :

Jan. 8, 2024, 6:15 p.m.

Last Modified :

Feb. 19, 2025, 7:47 p.m.

Remotely Exploit :

No
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

Linux Kernel contains a use-after-free vulnerability in the nft_object, allowing local attackers to escalate privileges.

Required Action :

Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

Notes :

This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://seclists.org/oss-sec/2022/q3/131; https://nvd.nist.gov/vuln/detail/CVE-2022-2586

Affected Products

The following products are affected by CVE-2022-2586 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Canonical ubuntu_linux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
This addresses a kernel use-after-free vulnerability by updating packages.
  • Update the affected kernel and related packages.
  • Reboot the system after updates if required.
Public PoC/Exploit Available at Github

CVE-2022-2586 has a 30 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-2586.

URL Resource
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 Third Party Advisory
https://lore.kernel.org/netfilter-devel/[email protected]/T/#t Mailing List Patch
https://ubuntu.com/security/notices/USN-5557-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5560-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5560-2 Third Party Advisory
https://ubuntu.com/security/notices/USN-5562-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5564-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5565-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5566-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5567-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5582-1 Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/08/09/5 Mailing List
https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ Third Party Advisory VDB Entry
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 Third Party Advisory
https://lore.kernel.org/netfilter-devel/[email protected]/T/#t Mailing List Patch
https://ubuntu.com/security/notices/USN-5557-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5560-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5560-2 Third Party Advisory
https://ubuntu.com/security/notices/USN-5562-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5564-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5565-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5566-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5567-1 Third Party Advisory
https://ubuntu.com/security/notices/USN-5582-1 Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/08/09/5 Mailing List
https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586 Exploit Third Party Advisory
https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ Third Party Advisory VDB Entry
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-2586 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-2586 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Shell Python Ruby Makefile HTML Linker Script Batchfile Perl

Updated: 4 days, 20 hours ago
5 stars 0 fork 0 watcher
Born at : Aug. 19, 2025, 3:53 a.m. This repo has been linked 93 different CVEs too.

None

Updated: 4 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : July 25, 2025, 7:02 p.m. This repo has been linked 96 different CVEs too.

None

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : June 29, 2025, 6:30 a.m. This repo has been linked 94 different CVEs too.

None

Updated: 4 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : March 31, 2025, 2:45 a.m. This repo has been linked 2 different CVEs too.

None

HTML Python Shell

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

PYTHA-SHELL is an educational cybersecurity tool featuring an RCE mode. It offers practical examples and demonstrations to help students understand various attacks and vulnerabilities in a controlled environment. PYTHA-SHELL provides hands-on experience with real-world security risks making it a valuable resource for learning and teaching

backdoor backdoor-attacks python pythonshell reverse-shell shell shell-script cybersecurityeducation hackingtools securitytraining vapt remotecodeexecution vulnerability-assessment cybersecurity hacking-tool

Updated: 1 month, 2 weeks ago
4 stars 0 fork 0 watcher
Born at : Sept. 17, 2024, 5:16 p.m. This repo has been linked 2 different CVEs too.

Auto Linux Kernel Local Privilege Escalation Exploit

Shell

Updated: 5 months ago
1 stars 0 fork 0 watcher
Born at : Aug. 23, 2024, 4:06 p.m. This repo has been linked 85 different CVEs too.

None

C Shell Python Assembly Ruby Makefile Meson

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 20, 2024, 8:34 p.m. This repo has been linked 91 different CVEs too.

A super simple Cisa KEV lookup CLI tool leveraging DuckDB

Python

Updated: 1 year ago
1 stars 0 fork 0 watcher
Born at : July 2, 2024, 7:56 p.m. This repo has been linked 33 different CVEs too.

A comprehensive eJPTv2 Cheatsheet

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : June 12, 2024, 3:46 p.m. This repo has been linked 7 different CVEs too.

Auto Root / Privilege Escalation Exploit

autoroot privilege privilege-escalation root

Shell

Updated: 6 months, 1 week ago
4 stars 2 fork 2 watcher
Born at : June 11, 2024, 9:57 p.m. This repo has been linked 85 different CVEs too.

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 2 months, 3 weeks ago
12 stars 3 fork 3 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 931 different CVEs too.

None

Updated: 1 month, 4 weeks ago
2 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 935 different CVEs too.

None

Python Shell

Updated: 4 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Oct. 28, 2023, 8:32 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 2 years ago
0 stars 0 fork 0 watcher
Born at : Aug. 18, 2023, 2:12 a.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-2586 vulnerability anywhere in the article.

  • Daily CyberSecurity
Three High-Severity Privilege Escalation Flaws Patched in Sophos Intercept X for Windows

Sophos has patched three separate high-severity local privilege escalation (LPE) vulnerabilities in its widely used Intercept X for Windows product and its installer. These flaws, identified as CVE-20 ... Read more

Published Date: Jul 21, 2025 (1 month ago)

The following table lists the changes that have been made to the CVE-2022-2586 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Modified Analysis by [email protected]

    Feb. 19, 2025

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 5.19.17 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 5.19.17 *cpe:2.3:o:linux:linux_kernel:6.0:-:*:*:*:*:*:*
    Changed Reference Type https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586 No Types Assigned https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586 Exploit, Third Party Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586
    Added Reference https://lore.kernel.org/netfilter-devel/[email protected]/T/#t
    Added Reference https://ubuntu.com/security/notices/USN-5557-1
    Added Reference https://ubuntu.com/security/notices/USN-5560-1
    Added Reference https://ubuntu.com/security/notices/USN-5560-2
    Added Reference https://ubuntu.com/security/notices/USN-5562-1
    Added Reference https://ubuntu.com/security/notices/USN-5564-1
    Added Reference https://ubuntu.com/security/notices/USN-5565-1
    Added Reference https://ubuntu.com/security/notices/USN-5566-1
    Added Reference https://ubuntu.com/security/notices/USN-5567-1
    Added Reference https://ubuntu.com/security/notices/USN-5582-1
    Added Reference https://www.openwall.com/lists/oss-security/2022/08/09/5
    Added Reference https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-1118/
  • CVE CISA KEV Update by 9119a7d8-5eab-497f-8521-727c672e3725

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Due Date 2024-07-17
    Added Required Action Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
    Added Vulnerability Name Linux Kernel Use-After-Free Vulnerability
    Added Date Added 2024-06-26
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 12, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 No Types Assigned https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 Third Party Advisory
    Changed Reference Type https://lore.kernel.org/netfilter-devel/[email protected]/T/#t No Types Assigned https://lore.kernel.org/netfilter-devel/[email protected]/T/#t Mailing List, Patch
    Changed Reference Type https://ubuntu.com/security/notices/USN-5557-1 No Types Assigned https://ubuntu.com/security/notices/USN-5557-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5560-1 No Types Assigned https://ubuntu.com/security/notices/USN-5560-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5560-2 No Types Assigned https://ubuntu.com/security/notices/USN-5560-2 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5562-1 No Types Assigned https://ubuntu.com/security/notices/USN-5562-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5564-1 No Types Assigned https://ubuntu.com/security/notices/USN-5564-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5565-1 No Types Assigned https://ubuntu.com/security/notices/USN-5565-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5566-1 No Types Assigned https://ubuntu.com/security/notices/USN-5566-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5567-1 No Types Assigned https://ubuntu.com/security/notices/USN-5567-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5582-1 No Types Assigned https://ubuntu.com/security/notices/USN-5582-1 Third Party Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2022/08/09/5 No Types Assigned https://www.openwall.com/lists/oss-security/2022/08/09/5 Mailing List
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ Third Party Advisory, VDB Entry
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 5.19.17
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*
  • CVE Received by [email protected]

    Jan. 08, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5564-1 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5560-2 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5582-1 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5567-1 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5560-1 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5566-1 [No types assigned]
    Added Reference Canonical Ltd. https://www.openwall.com/lists/oss-security/2022/08/09/5 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5565-1 [No types assigned]
    Added Reference Canonical Ltd. https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ [No types assigned]
    Added Reference Canonical Ltd. https://lore.kernel.org/netfilter-devel/[email protected]/T/#t [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5562-1 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5557-1 [No types assigned]
    Added Reference Canonical Ltd. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 [No types assigned]
    Added CWE Canonical Ltd. CWE-416
    Added CVSS V3.1 Canonical Ltd. AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.49 }} -0.04%

score

0.80263

percentile