# CVE-2025-21826: netfilter: nf\_tables: reject mismatching sum of field\_len with set key length

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-03-06T16:04:32.274Z
- **Modified:** 2026-10-15T01:04:36.090Z

## 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

## 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

- 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)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/6b467c8feac759f4c5c86d708beca2aa2b29584f>
- patch: <https://git.kernel.org/stable/c/5083a7ae45003456c253e981b30a43f71230b4a3>
- patch: <https://git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752>
- patch: <https://git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32>
- patch: <https://git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d>
- patch: <https://git.kernel.org/stable/c/ab50d0eff4a939d20c37721fd9766347efcdb6f6>
- patch: <https://git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-503939.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21826>

HTML: <https://flawdb.com/CVE-2025-21826> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21826>
