CVE-2026-31630
rxrpc: proc: size address buffers for %pISpc output
Check your servers for CVE-2026-31630
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-31630 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: proc: size address buffers for %pISpc output
The AF_RXRPC procfs helpers format local and remote socket addresses into fixed 50-byte stack buffers with "%pISpc".
That is too small for the longest current-tree IPv6-with-port form the formatter can produce. In lib/vsprintf.c, the compressed IPv6 path uses a dotted-quad tail not only for v4mapped addresses, but also for ISATAP addresses via ipv6_addr_is_isatap().
As a result, a case such as
[ffff:ffff:ffff:ffff:0:5efe:255.255.255.255]:65535
is possible with the current formatter. That is 50 visible characters, so 51 bytes including the trailing NUL, which does not fit in the existing char[50] buffers used by net/rxrpc/proc.c.
Size the buffers from the formatter's maximum textual form and switch the call sites to scnprintf().
Changes since v1: - correct the changelog to cite the actual maximum current-tree case explicitly - frame the proof around the ISATAP formatting path instead of the earlier mapped-v4 example
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
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 8.08% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 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
- total: full control of the component or of its data
Weakness
- CWE-121 Stack-based Buffer Overflow
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before 386c86412608d3449006a318a662cbcd6ca1f668 affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before 235b2115de892eab2e107a42efa7a4347baaa80b affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before 625af53a1564e31bb2df9adc3739df46137f46c1 affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before 808a34cdbe8ce336c202d8ea6d5e48496764dc37 affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before a6042b8066b24dbcc7945616a157d4d43e463668 affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before db297c78ce537c9ac96f0eda9b25ad72c8caefa9 affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before 10ebed83f9f6414af4e85bc85ffaeda7effdd874 affected from 75b54cb57ca34cbe7a87c6ac757c55360a624590, before a44ce6aa2efb61fe44f2cfab72bb01544bbca272
Other versions: unaffected
|
| Linux |
affected 4.9 unaffected before 4.9 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 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-31630 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31630
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-31630
trivy image --scanners vuln IMAGE | grep CVE-2026-31630
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
- https://git.kernel.org/stable/c/386c86412608d3449006a318a662cbcd6ca1f668 git.kernel.org
- https://git.kernel.org/stable/c/235b2115de892eab2e107a42efa7a4347baaa80b git.kernel.org
- https://git.kernel.org/stable/c/625af53a1564e31bb2df9adc3739df46137f46c1 git.kernel.org
- https://git.kernel.org/stable/c/808a34cdbe8ce336c202d8ea6d5e48496764dc37 git.kernel.org
- https://git.kernel.org/stable/c/a6042b8066b24dbcc7945616a157d4d43e463668 git.kernel.org
- https://git.kernel.org/stable/c/db297c78ce537c9ac96f0eda9b25ad72c8caefa9 git.kernel.org
- https://git.kernel.org/stable/c/10ebed83f9f6414af4e85bc85ffaeda7effdd874 git.kernel.org
- https://git.kernel.org/stable/c/a44ce6aa2efb61fe44f2cfab72bb01544bbca272 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
Source: the record CVE-2026-31630 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse