{"id":"CVE-2025-21826","published":"2025-03-06T16:04:32Z","modified":"2026-10-15T01:04:36Z","title":"netfilter: nf_tables: reject mismatching sum of field_len with set key length","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: reject mismatching sum of field_len with set key length\n\nThe field length description provides the length of each separated key\nfield in the concatenation, each field gets rounded up to 32-bits to\ncalculate the pipapo rule width from pipapo_init(). The set key length\nprovides the total size of the key aligned to 32-bits.\n\nRegister-based arithmetics still allows for combining mismatching set\nkey length and field length description, eg. set key length 10 and field\ndescription [ 5, 4 ] leading to pipapo width of 12.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00323,"percentile":0.17792,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6b467c8feac759f4c5c86d708beca2aa2b29584f","tags":[]},{"url":"https://git.kernel.org/stable/c/5083a7ae45003456c253e981b30a43f71230b4a3","tags":[]},{"url":"https://git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752","tags":[]},{"url":"https://git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32","tags":[]},{"url":"https://git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d","tags":[]},{"url":"https://git.kernel.org/stable/c/ab50d0eff4a939d20c37721fd9766347efcdb6f6","tags":[]},{"url":"https://git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-503939.html","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.56},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 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"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"euvd":{"id":"EUVD-2025-6219","exploited":false,"provenance":"source"}}