CVE-2026-31671
MediumIn the Linux kernel, the following vulnerability has been resolved: xfrm_user: fix info leak in build_report() struct xfrm_user_report is a __u8 proto field followed by a struct xfrm_selector which means there is three "empty" bytes of padding, but the padding is never zeroed before copying to userspace. Fix that up by zeroing the structure before setting individual member variables.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-401CVE-2026-31671 is a Memory Leak vulnerability
What is Memory Leak?
The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE
Affected versions
Linux kernel versions
2.6.19
and later are affected. Fixed in
5.10.253,
5.15.203,
6.1.169,
6.6.135,
6.12.82,
6.18.23,
6.19.13,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31671 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6c55714c931051cd7f4839c19ce0867179fd22fe
Frequently asked questions
-
What is CVE-2026-31671?
CVE-2026-31671 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 2.6.19 onward and has been patched in 5.10.253, 5.15.203, 6.1.169 and others. CVE-2026-31671 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31671?
CVE-2026-31671 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-31671?
Yes — CVE-2026-31671 has been patched. Fixed versions include 5.10.253, 5.15.203, 6.1.169 and others. If you are running Linux kernel 2.6.19 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31671 actively exploited?
No — CVE-2026-31671 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Memory Leak (CWE-401)?
The product does not release memory after use, causing gradual resource exhaustion. View CWE-401 on MITRE CWE →