CVE-2023-31248 in Canonical Ubuntu Linux and 5 more products
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
Affects 6 products from 5 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 20.04 22.04 |
| Debian | Debian Linux | 11.0 |
| Fedoraproject | Fedora | 37 38 |
| Linux | Linux Kernel | ≥ 5.9, < 5.10.188 ≥ 5.11, < 5.15.121 ≥ 5.16, < 6.1.39 ≥ 6.2, < 6.4.4 |
| Siemens | SIMATIC S7-1500 Tm Mfp (device and firmware) | < 1.3.0 |
Fix and vendor advisory
- SIMATIC S7-1500 TM MFP - BIOS: Update to V1.3.0 or later version
Source: ICSA-23-166-10
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-31248 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-057679-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-07-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict access controls and monitor for unusual activity related to nftables operations. Ensure that only authorized users have the necessary capabilities to manage network namespaces.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.