CVE-2026-31677
crypto: af_alg - limit RX SG extraction by receive buffer budget
Mitigation
- Upgrade Linux to 8eceab19eba9dcbfd2a0daec72e1bf48aa100170 or later.
Who should check
- Anyone running Linux >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 960c56743988d8ce9ff9b5d770dbeb5f64823a23; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 7e345de2e69475430af85e09210795d8eb8e719c; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 4a264b2614c73c96666e196bbabe0cead52bdba7; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 8eceab19eba9dcbfd2a0daec72e1bf48aa100170
- Anyone running Linux 4.14
Vulnerability facts
- Affected
- Linux >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 960c56743988d8ce9ff9b5d770dbeb5f64823a23; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 7e345de2e69475430af85e09210795d8eb8e719c; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 4a264b2614c73c96666e196bbabe0cead52bdba7; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 8eceab19eba9dcbfd2a0daec72e1bf48aa100170; Linux 4.14
- Fixed in
- Linux 960c56743988d8ce9ff9b5d770dbeb5f64823a23, Linux 7e345de2e69475430af85e09210795d8eb8e719c, Linux 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9, Linux 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453, Linux 4a264b2614c73c96666e196bbabe0cead52bdba7, Linux 8eceab19eba9dcbfd2a0daec72e1bf48aa100170
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 960c56743988d8ce9ff9b5d770dbeb5f64823a23; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 7e345de2e69475430af85e09210795d8eb8e719c; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 4a264b2614c73c96666e196bbabe0cead52bdba7; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 8eceab19eba9dcbfd2a0daec72e1bf48aa100170 | — | cvelist |
| Linux | 4.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31677. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31677.md Affected: Linux >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 960c56743988d8ce9ff9b5d770dbeb5f64823a23; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 7e345de2e69475430af85e09210795d8eb8e719c; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9; >= e870456d8e7c8d57c059ea4… Fixed in: Linux 960c56743988d8ce9ff9b5d770dbeb5f64823a23, Linux 7e345de2e69475430af85e09210795d8eb8e719c, Linux 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9, Linux 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453, Linux 4a264b2614c73c96666e196bbabe0cead52bdba7, Linux 8eceab19eba9dcbfd2a0daec72e1bf48aa100170 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.
References
Patches
FAQ
Is CVE-2026-31677 being exploited?
There is no confirmed exploitation: CVE-2026-31677 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-31677?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31677?
Linux >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 960c56743988d8ce9ff9b5d770dbeb5f64823a23; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 7e345de2e69475430af85e09210795d8eb8e719c; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 4a264b2614c73c96666e196bbabe0cead52bdba7; >= e870456d8e7c8d57c059ea479b5aadbb55ff4c3a, < 8eceab19eba9dcbfd2a0daec72e1bf48aa100170; Linux 4.14.
Is there a fix for CVE-2026-31677?
Yes. Fixed in Linux 960c56743988d8ce9ff9b5d770dbeb5f64823a23, Linux 7e345de2e69475430af85e09210795d8eb8e719c, Linux 9bf3e6ccfdcfe56ae3190d1ae987dacf1cfef4f9, Linux 07c6f6ffe29009426f0bd4d3cfbb6308b8ea8453, Linux 4a264b2614c73c96666e196bbabe0cead52bdba7, Linux 8eceab19eba9dcbfd2a0daec72e1bf48aa100170. Upgrade Linux to 8eceab19eba9dcbfd2a0daec72e1bf48aa100170 or later.
How do I check if I'm affected by CVE-2026-31677?
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.