# CVE-2023-31248: Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability

- Severity: High 7.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.89%, higher than 80% of CVEs (2026-12-01)
- Published: 2023-07-05T18:33:59.665Z
- Modified: 2026-06-17T05:56:40.693Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: canonical

## Description

Linux Kernel nftables Use-After-Free Local Privilege Escalation Vulnerability; `nft_chain_lookup_byid()` failed to check whether a chain was active and CAP_NET_ADMIN is in any user or network namespace

(As written by CVE List.)

## Affected

- Linux Linux Kernel: v5.9-rc1
- linux linux_kernel: from 5.9 before 5.10.188; from 5.11 before 5.15.121; from 5.16 before 6.1.39; from 6.2 before 6.4.4
- fedoraproject fedora: 37; 38
- debian debian_linux: 11.0
- canonical ubuntu_linux: 14.04; 16.04; 18.04; 20.04; 22.04

## Every score

- canonical: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://lore.kernel.org/netfilter-devel/20230705121627.GC19489@breakpoint.cc/T/> (issue-tracking, patch)
- <https://www.openwall.com/lists/oss-security/2023/07/05/2> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2023/07/05/2> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2023/dsa-5453> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPHI46ROSSLVAV4R5LJWJYU747JGOS6D/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGZC5XOANA75OJ4XARBBXYSLDKUIJI5E/> (mailing-list)
- <http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html> (third-party-advisory, vdb-entry)
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00001.html> (third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/174577/Kernel-Live-Patch-Security-Notice-LSN-0097-1.html> (third-party-advisory, vdb-entry)
- <https://security.netapp.com/advisory/ntap-20240201-0001/>

## Sources

- CVE List: [CVE-2023-31248](https://www.cve.org/CVERecord?id=CVE-2023-31248), CVE Terms of Use, modified 2025-03-05
- NVD: [CVE-2023-31248](https://nvd.nist.gov/vuln/detail/CVE-2023-31248), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-31248 · Whole record: https://cve.day/CVE-2023-31248.json · Rebuilt by cve.day 2026-11-25T22:58:25.435Z
