# CVE-2026-31671: xfrm\_user: fix info leak in build\_report()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-04-24T14:45:18.669Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< d27c02eec529f78055a46a5c9e6c62684382b2d8; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 716c546e88cfe49d841658240e10cb57bc50a2cc; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< e0c8542c3d097ed4205ded51868195d5d6ddac62; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< ff5ee507302303b15859753c3e0d67d38fd12c88; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 6c55714c931051cd7f4839c19ce0867179fd22fe; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< d10119968d0e1f2b669604baf2a8b5fdb72fa6b4
- Anyone running Linux 2.6.19

## Description

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

## Affected and fixed versions

- Linux: \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< d27c02eec529f78055a46a5c9e6c62684382b2d8; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 716c546e88cfe49d841658240e10cb57bc50a2cc; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< e0c8542c3d097ed4205ded51868195d5d6ddac62; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< ff5ee507302303b15859753c3e0d67d38fd12c88; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 6c55714c931051cd7f4839c19ce0867179fd22fe; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< d10119968d0e1f2b669604baf2a8b5fdb72fa6b4 (cvelist)
- Linux: 2.6.19 (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-2026-31671. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31671.md
Affected: Linux >= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, < d27c02eec529f78055a46a5c9e6c62684382b2d8; >= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, < 716c546e88cfe49d841658240e10cb57bc50a2cc; >= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, < 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9; >= 97a64b4577ae2bc5599dbd0…
Fixed in: Linux 716c546e88cfe49d841658240e10cb57bc50a2cc, Linux 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9, Linux 6c55714c931051cd7f4839c19ce0867179fd22fe, Linux 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72

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-2026-31671 being exploited?

There is no confirmed exploitation: CVE-2026-31671 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31671?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31671?

Linux \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< d27c02eec529f78055a46a5c9e6c62684382b2d8; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 716c546e88cfe49d841658240e10cb57bc50a2cc; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< e0c8542c3d097ed4205ded51868195d5d6ddac62; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< ff5ee507302303b15859753c3e0d67d38fd12c88; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 6c55714c931051cd7f4839c19ce0867179fd22fe; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72; \>= 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, \< d10119968d0e1f2b669604baf2a8b5fdb72fa6b4; Linux 2.6.19.

### Is there a fix for CVE-2026-31671?

Yes. Fixed in Linux 716c546e88cfe49d841658240e10cb57bc50a2cc, Linux 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9, Linux 6c55714c931051cd7f4839c19ce0867179fd22fe, Linux 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31671?

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/d27c02eec529f78055a46a5c9e6c62684382b2d8>
- patch: <https://git.kernel.org/stable/c/716c546e88cfe49d841658240e10cb57bc50a2cc>
- patch: <https://git.kernel.org/stable/c/0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9>
- patch: <https://git.kernel.org/stable/c/e0c8542c3d097ed4205ded51868195d5d6ddac62>
- patch: <https://git.kernel.org/stable/c/ff5ee507302303b15859753c3e0d67d38fd12c88>
- patch: <https://git.kernel.org/stable/c/6c55714c931051cd7f4839c19ce0867179fd22fe>
- patch: <https://git.kernel.org/stable/c/0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72>
- patch: <https://git.kernel.org/stable/c/d10119968d0e1f2b669604baf2a8b5fdb72fa6b4>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.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-2026-31671>

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