CVE-2026-31677
crypto: af_alg - limit RX SG extraction by receive buffer budget
Check your servers for CVE-2026-31677
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-31677 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:
crypto: af_alg - limit RX SG extraction by receive buffer budget
Make af_alg_get_rsgl() limit each RX scatterlist extraction to the remaining receive buffer budget.
af_alg_get_rsgl() currently uses af_alg_readable() only as a gate before extracting data into the RX scatterlist. Limit each extraction to the remaining af_alg_rcvbuf(sk) budget so that receive-side accounting matches the amount of data attached to the request.
If skcipher cannot obtain enough RX space for at least one chunk while more data remains to be processed, reject the recvmsg call instead of rounding the request length down to zero.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.65% of all scored CVEs. Scores of 1 Dec 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.
| Product | Versions |
|---|---|
| Linux |
affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 960c56743988d8ce9ff9b5d770dbeb5f64823a23 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 7e345de2e69475430af85e09210795d8eb8e719c affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 4a264b2614c73c96666e196bbabe0cead52bdba7 affected from e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, before 8eceab19eba9dcbfd2a0daec72e1bf48aa100170
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.83 up to and including 6.12.* unaffected from 6.18.24 up to and including 6.18.* unaffected from 6.19.14 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-31677 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31677
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-31677
trivy image --scanners vuln IMAGE | grep CVE-2026-31677
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/960c56743988d8ce9ff9b5d770dbeb5f64823a23 git.kernel.org
- https://git.kernel.org/stable/c/7e345de2e69475430af85e09210795d8eb8e719c git.kernel.org
- https://git.kernel.org/stable/c/9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9 git.kernel.org
- https://git.kernel.org/stable/c/07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453 git.kernel.org
- https://git.kernel.org/stable/c/4a264b2614c73c96666e196bbabe0cead52bdba7 git.kernel.org
- https://git.kernel.org/stable/c/8eceab19eba9dcbfd2a0daec72e1bf48aa100170 git.kernel.org
Source: the record CVE-2026-31677 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.
Vulnpocalypse