CVE-2026-31671

xfrm_user: fix info leak in build_report()

No CVSS score yet EPSS 0.18%

Published 24 Apr 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2026-31671

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31671 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.31% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before d27c02eec529f78055a46a5c9e6c62684382b2d8
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before 716c546e88cfe49d841658240e10cb57bc50a2cc
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before e0c8542c3d097ed4205ded51868195d5d6ddac62
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before ff5ee507302303b15859753c3e0d67d38fd12c88
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before 6c55714c931051cd7f4839c19ce0867179fd22fe
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72
affected from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5, before d10119968d0e1f2b669604baf2a8b5fdb72fa6b4
Other versions: unaffected
Linux
affected 2.6.19
unaffected before 2.6.19
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.169 up to and including 6.1.*
unaffected from 6.6.135 up to and including 6.6.*
unaffected from 6.12.82 up to and including 6.12.*
unaffected from 6.18.23 up to and including 6.18.*
unaffected from 6.19.13 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31671 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31671

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31671
trivy image --scanners vuln IMAGE | grep CVE-2026-31671

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31671 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.