CVE-2025-21826
netfilter: nf_tables: reject mismatching sum of field_len with set key length
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2d4c0798a1ef8db15b3277697ac2def4eda42312, < 6b467c8feac759f4c5c86d708beca2aa2b29584f; >= 77be8c495a3f841e88b46508cc20d3d7d3289da3, < 5083a7ae45003456c253e981b30a43f71230b4a3; >= 9cb084df01e198119de477ac691d682fb01e80f3, < 2ac254343d3cf228ae0738b2615fedf85d000752; >= dc45bb00e66a33de1abb29e3d587880e1d4d9a7e, < 82e491e085719068179ff6a5466b7387cc4bbf32; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 49b7182b97bafbd5645414aff054b4a65d05823d; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < ab50d0eff4a939d20c37721fd9766347efcdb6f6; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 1b9335a8000fb70742f7db10af314104b6ace220; ff67e3e488090908dc015ba04d7407d8bd467f7e; >= 5.10.209, < 5.10.235; >= 5.15.148, < 5.15.179; …
- Anyone running Linux 6.8
Vulnerability facts
- Affected
- Linux >= 2d4c0798a1ef8db15b3277697ac2def4eda42312, < 6b467c8feac759f4c5c86d708beca2aa2b29584f; >= 77be8c495a3f841e88b46508cc20d3d7d3289da3, < 5083a7ae45003456c253e981b30a43f71230b4a3; >= 9cb084df01e198119de477ac691d682fb01e80f3, < 2ac254343d3cf228ae0738b2615fedf85d000752; >= dc45bb00e66a33de1abb29e3d587880e1d4d9a7e, < 82e491e085719068179ff6a5466b7387cc4bbf32; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 49b7182b97bafbd5645414aff054b4a65d05823d; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < ab50d0eff4a939d20c37721fd9766347efcdb6f6; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 1b9335a8000fb70742f7db10af314104b6ace220; ff67e3e488090908dc015ba04d7407d8bd467f7e; >= 5.10.209, < 5.10.235; >= 5.15.148, < 5.15.179; …; Linux 6.8
- Fixed in
- Linux 6b467c8feac759f4c5c86d708beca2aa2b29584f, Linux 5083a7ae45003456c253e981b30a43f71230b4a3, Linux 2ac254343d3cf228ae0738b2615fedf85d000752, Linux 82e491e085719068179ff6a5466b7387cc4bbf32, Linux 49b7182b97bafbd5645414aff054b4a65d05823d, Linux 1b9335a8000fb70742f7db10af314104b6ace220, Linux 5.10.235, Linux 5.15.179
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: reject mismatching sum of field_len with set key length The field length description provides the length of each separated key field in the concatenation, each field gets rounded up to 32-bits to calculate the pipapo rule width from pipapo_init(). The set key length provides the total size of the key aligned to 32-bits. Register-based arithmetics still allows for combining mismatching set key length and field length description, eg. set key length 10 and field description [ 5, 4 ] leading to pipapo width of 12.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2d4c0798a1ef8db15b3277697ac2def4eda42312, < 6b467c8feac759f4c5c86d708beca2aa2b29584f; >= 77be8c495a3f841e88b46508cc20d3d7d3289da3, < 5083a7ae45003456c253e981b30a43f71230b4a3; >= 9cb084df01e198119de477ac691d682fb01e80f3, < 2ac254343d3cf228ae0738b2615fedf85d000752; >= dc45bb00e66a33de1abb29e3d587880e1d4d9a7e, < 82e491e085719068179ff6a5466b7387cc4bbf32; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 49b7182b97bafbd5645414aff054b4a65d05823d; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < ab50d0eff4a939d20c37721fd9766347efcdb6f6; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 1b9335a8000fb70742f7db10af314104b6ace220; ff67e3e488090908dc015ba04d7407d8bd467f7e; >= 5.10.209, < 5.10.235; >= 5.15.148, < 5.15.179; … | — | cvelist |
| Linux | 6.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21826. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21826.md Affected: Linux >= 2d4c0798a1ef8db15b3277697ac2def4eda42312, < 6b467c8feac759f4c5c86d708beca2aa2b29584f; >= 77be8c495a3f841e88b46508cc20d3d7d3289da3, < 5083a7ae45003456c253e981b30a43f71230b4a3; >= 9cb084df01e198119de477ac691d682fb01e80f3, < 2ac254343d3cf228ae0738b2615fedf85d000752; >= dc45bb00e66a33de1abb29e… Fixed in: Linux 6b467c8feac759f4c5c86d708beca2aa2b29584f, Linux 5083a7ae45003456c253e981b30a43f71230b4a3, Linux 2ac254343d3cf228ae0738b2615fedf85d000752, Linux 82e491e085719068179ff6a5466b7387cc4bbf32, Linux 49b7182b97bafbd5645414aff054b4a65d05823d, Linux 1b9335a8000fb70742f7db10af314104b6ace220, Linux 5.10.… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/6b467c8feac759f4c5c86d708beca2aa2b29584f
- https://git.kernel.org/stable/c/5083a7ae45003456c253e981b30a43f71230b4a3
- https://git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752
- https://git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32
- https://git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d
- https://git.kernel.org/stable/c/ab50d0eff4a939d20c37721fd9766347efcdb6f6
- https://git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220
FAQ
Is CVE-2025-21826 being exploited?
There is no confirmed exploitation: CVE-2025-21826 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21826?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21826?
Linux >= 2d4c0798a1ef8db15b3277697ac2def4eda42312, < 6b467c8feac759f4c5c86d708beca2aa2b29584f; >= 77be8c495a3f841e88b46508cc20d3d7d3289da3, < 5083a7ae45003456c253e981b30a43f71230b4a3; >= 9cb084df01e198119de477ac691d682fb01e80f3, < 2ac254343d3cf228ae0738b2615fedf85d000752; >= dc45bb00e66a33de1abb29e3d587880e1d4d9a7e, < 82e491e085719068179ff6a5466b7387cc4bbf32; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 49b7182b97bafbd5645414aff054b4a65d05823d; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < ab50d0eff4a939d20c37721fd9766347efcdb6f6; >= 3ce67e3793f48c1b9635beb9bb71116ca1e51b58, < 1b9335a8000fb70742f7db10af314104b6ace220; ff67e3e488090908dc015ba04d7407d8bd467f7e; >= 5.10.209, < 5.10.235; >= 5.15.148, < 5.15.179; …; Linux 6.8.
Is there a fix for CVE-2025-21826?
Yes. Fixed in Linux 6b467c8feac759f4c5c86d708beca2aa2b29584f, Linux 5083a7ae45003456c253e981b30a43f71230b4a3, Linux 2ac254343d3cf228ae0738b2615fedf85d000752, Linux 82e491e085719068179ff6a5466b7387cc4bbf32, Linux 49b7182b97bafbd5645414aff054b4a65d05823d, Linux 1b9335a8000fb70742f7db10af314104b6ace220, Linux 5.10.235, Linux 5.15.179. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-21826?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.