# netfilter: nf_tables: fix memleak when more than 255 elements expired

CVE record · `CVE-2023-52581`

- **Identifiers:** `CVE-2023-52581`
- **State:** Confirmed
- **Severity:** CVSS 6.3 Medium
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 2 Mar 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 2 Mar 2024, 21:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `8da1b048f9a501d3d7d38c188ba09d7d0d5b8c27 to before 7cf055b43756b10aa2b851c927c940f5ed652125` (git)
  - affected: `bbdb3b65aa91aa0a32b212f27780b28987f2d94f to before a995a68e8a3b48533e47c856865d109a1f1a9d01` (git)
  - affected: `448be0774882f95a74fa5eb7519761152add601b to before 09c85f2d21ab6b5acba31a037985b13e8e6565b8` (git)
  - affected: `d19e8bf3ea4114dd21fc35da21f398203d7f7df1 to before ef99506eaf1dc31feff1adfcfd68bc5535a22171` (git)
  - affected: `ea3eb9f2192e4fc33b795673e56c97a21987f868 to before 7e5d732e6902eb6a37b35480796838a145ae5f07` (git)
  - affected: `5f68718b34a531a556f2f50300ead2862278da26 to before 4aea243b6853d06c1d160a9955b759189aa02b14` (git)
  - affected: `5f68718b34a531a556f2f50300ead2862278da26 to before cf5000a7787cbc10341091d37245a42c119d26c5` (git)
  - affected: `0624f190b5742a1527cd938295caa8dc5281d4cd` (git)
  - affected: `6.4.11 to before 6.5` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.5`
  - unaffected: `before 6.5` (semver)
  - unaffected: `6.5.6 to 6.5.*, inclusive` (semver)
  - unaffected: `6.6 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 6.3 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 2 Mar 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-52581](https://www.cve.org/CVERecord?id=CVE-2023-52581)
- [NVD: CVE-2023-52581](https://nvd.nist.gov/vuln/detail/CVE-2023-52581)

### References from the CNA

- <https://git.kernel.org/stable/c/7cf055b43756b10aa2b851c927c940f5ed652125>
- <https://git.kernel.org/stable/c/a995a68e8a3b48533e47c856865d109a1f1a9d01>
- <https://git.kernel.org/stable/c/09c85f2d21ab6b5acba31a037985b13e8e6565b8>
- <https://git.kernel.org/stable/c/ef99506eaf1dc31feff1adfcfd68bc5535a22171>
- <https://git.kernel.org/stable/c/7e5d732e6902eb6a37b35480796838a145ae5f07>
- <https://git.kernel.org/stable/c/4aea243b6853d06c1d160a9955b759189aa02b14>
- <https://git.kernel.org/stable/c/cf5000a7787cbc10341091d37245a42c119d26c5>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-52581>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-52581/>. Everything for agents: <https://agentprime.io/llms.txt>.
