CVE-2026-31705

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-05-01. the CNA's CVSS baseline 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:linux, epss, ghsa
9.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 9.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment

smb2_get_ea() applies 4-byte alignment padding via memset() after writing each EA entry. The bounds check on buf_free_len is performed before the value memcpy, but the alignment memset fires unconditionally afterward with no check on remaining space.

When the EA value exactly fills the remaining buffer (buf_free_len == 0 after value subtraction), the alignment memset writes 1-3 NUL bytes past the buf_free_len boundary. In compound requests where the response buffer is shared across commands, the first command (e.g., READ) can consume most of the buffer, leaving a tight remainder for the QUERY_INFO EA response. The alignment memset then overwrites past the physical kvmalloc allocation into adjacent kernel heap memory.

Add a bounds check before the alignment memset to ensure buf_free_len can accommodate the padding bytes.

This is the same bug pattern fixed by commit beef2634f81f ("ksmbd: fix potencial OOB in get_file_all_info() for compound requests") and commit fda9522ed6af ("ksmbd: fix OOB write in QUERY_INFO for compound requests"), both of which added bounds checks before unconditional writes in QUERY_INFO response handlers.

CVSS v3
9.8
EG Score
9.8(medium)
EG Risk
49(Track)
EG Risk 49/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity98% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
33%
KEV
Not listed

Published

May 1, 2026

Last Modified

August 5, 2026

Advisory Details (6)

Auto-updated Sep 16, 2026
No patch confirmed yet.
generic

ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/30010c952077a1c89ecdd71fc4d574c75a8f5617
generic

ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/922d48fe8c19f388ffa2f709f33acaae4e408de2
generic

ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/790304c02bf9bd7b8171feda4294d6e62d32ae8f
generic

ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/98f3de6ef4efbd899348d333f0902dc4ff14380c
generic

ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/ffbce350c6fd1e99116ea57383b9031717e36d3b
generic

ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/ddbbc8b2a09dd2cfed90871313e3691ae1db08a2

Vendor Advisories for CVE-2026-31705(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(1)

Vendor / EcosystemFixed in / PatchReleasedSource
linuxKernel @ 6.1.175osv

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFixed inDependents
linux-6.16.1.106-3~deb11u1 ... 6.1.174-1~deb11u1 (20 versions)6.1.176-1~deb11u1
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 6.1.99-1 (53 versions)6.1.176-1
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.38-1 ... 6.12.85-1~bpo12+1 (17 versions)6.12.85-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 7.0.1-1~exp1 (132 versions)7.0.3-1

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(22)

Data Freshness Timeline

(refreshed 7× in last 7d / 29× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 457 total refreshes for this CVE.

  1. 2026-09-20 20:15 UTCEPSS rescore
  2. 2026-09-20 20:15 UTCEPSS rescore
  3. 2026-09-18 19:28 UTCEPSS rescore
  4. 2026-09-18 19:27 UTCEPSS rescore
  5. 2026-09-17 19:30 UTCEPSS rescore
  6. 2026-09-16 14:08 UTCEPSS rescore
  7. 2026-09-16 05:15 UTCEPSS rescore
  8. 2026-09-13 16:47 UTCEPSS rescore
  9. 2026-09-12 15:01 UTCEPSS rescore
  10. 2026-09-11 14:52 UTCEPSS rescore
  11. 2026-09-10 09:34 UTCEPSS rescore
  12. 2026-09-08 22:00 UTCEPSS rescore
  13. 2026-09-07 16:01 UTCEPSS rescore
  14. 2026-09-06 13:47 UTCEPSS rescore
  15. 2026-09-06 13:47 UTCEPSS rescore
  16. 2026-09-04 05:06 UTCEPSS rescore
  17. 2026-09-04 00:59 UTCOSV refresh
  18. 2026-09-02 14:11 UTCEPSS rescore
  19. 2026-09-01 13:53 UTCEPSS rescore
  20. 2026-09-01 04:39 UTCEPSS rescore
  21. 2026-09-01 04:39 UTCEPSS rescore
  22. 2026-08-30 19:17 UTCEPSS rescore
  23. 2026-08-30 01:22 UTCEPSS rescore
  24. 2026-08-28 21:41 UTCEPSS rescore
  25. 2026-08-27 14:25 UTCEPSS rescore
Show 75 more
  1. 2026-08-26 14:46 UTCEPSS rescore
  2. 2026-08-25 13:49 UTCEPSS rescore
  3. 2026-08-24 14:17 UTCEPSS rescore
  4. 2026-08-23 00:19 UTCEPSS rescore
  5. 2026-08-21 23:49 UTCEPSS rescore
  6. 2026-08-20 22:55 UTCEPSS rescore
  7. 2026-08-20 22:55 UTCEPSS rescore
  8. 2026-08-19 17:03 UTCEPSS rescore
  9. 2026-08-18 13:48 UTCEPSS rescore
  10. 2026-08-17 13:47 UTCEPSS rescore
  11. 2026-08-17 13:45 UTCEG score recompute
  12. 2026-08-17 13:45 UTCVendor advisory
  13. 2026-08-17 13:45 UTCGHSA enrichment
  14. 2026-08-16 14:56 UTCEPSS rescore
  15. 2026-08-16 09:15 UTCVendor advisory
  16. 2026-08-16 09:15 UTCGHSA enrichment
  17. 2026-08-16 05:19 UTCEG score recompute
  18. 2026-08-16 05:19 UTCVendor advisory
  19. 2026-08-16 05:19 UTCGHSA enrichment
  20. 2026-08-16 02:14 UTCEPSS rescore
  21. 2026-08-15 01:59 UTCEG score recompute
  22. 2026-08-15 01:59 UTCVendor advisory
  23. 2026-08-15 01:59 UTCGHSA enrichment
  24. 2026-08-15 01:30 UTCEPSS rescore
  25. 2026-08-14 22:18 UTCVendor advisory
  26. 2026-08-14 22:18 UTCGHSA enrichment
  27. 2026-08-14 18:32 UTCVendor advisory
  28. 2026-08-14 18:32 UTCGHSA enrichment
  29. 2026-08-14 14:50 UTCVendor advisory
  30. 2026-08-14 14:50 UTCGHSA enrichment
  31. 2026-08-14 11:09 UTCVendor advisory
  32. 2026-08-14 11:09 UTCGHSA enrichment
  33. 2026-08-14 07:28 UTCVendor advisory
  34. 2026-08-14 07:28 UTCGHSA enrichment
  35. 2026-08-14 03:47 UTCEG score recompute
  36. 2026-08-14 03:47 UTCVendor advisory
  37. 2026-08-14 03:47 UTCGHSA enrichment
  38. 2026-08-13 22:00 UTCEPSS rescore
  39. 2026-08-13 08:24 UTCVendor advisory
  40. 2026-08-13 08:24 UTCGHSA enrichment
  41. 2026-08-13 04:43 UTCVendor advisory
  42. 2026-08-13 04:43 UTCGHSA enrichment
  43. 2026-08-13 01:01 UTCVendor advisory
  44. 2026-08-13 01:01 UTCGHSA enrichment
  45. 2026-08-12 21:20 UTCVendor advisory
  46. 2026-08-12 21:20 UTCGHSA enrichment
  47. 2026-08-12 17:25 UTCEG score recompute
  48. 2026-08-12 17:25 UTCVendor advisory
  49. 2026-08-12 17:25 UTCGHSA enrichment
  50. 2026-08-12 13:50 UTCEPSS rescore
  51. 2026-08-11 23:51 UTCVendor advisory
  52. 2026-08-11 23:51 UTCGHSA enrichment
  53. 2026-08-11 20:09 UTCVendor advisory
  54. 2026-08-11 20:09 UTCGHSA enrichment
  55. 2026-08-11 16:22 UTCEG score recompute
  56. 2026-08-11 16:22 UTCVendor advisory
  57. 2026-08-11 16:22 UTCGHSA enrichment
  58. 2026-08-11 09:12 UTCVendor advisory
  59. 2026-08-11 09:12 UTCGHSA enrichment
  60. 2026-08-11 05:31 UTCVendor advisory
  61. 2026-08-11 05:31 UTCGHSA enrichment
  62. 2026-08-11 01:49 UTCEG score recompute
  63. 2026-08-11 01:49 UTCVendor advisory
  64. 2026-08-11 01:49 UTCGHSA enrichment
  65. 2026-08-11 00:00 UTCEPSS rescore
  66. 2026-08-10 12:45 UTCVendor advisory
  67. 2026-08-10 12:45 UTCGHSA enrichment
  68. 2026-08-10 08:39 UTCVendor advisory
  69. 2026-08-10 08:39 UTCGHSA enrichment
  70. 2026-08-10 04:58 UTCVendor advisory
  71. 2026-08-10 04:58 UTCGHSA enrichment
  72. 2026-08-10 01:17 UTCVendor advisory
  73. 2026-08-10 01:17 UTCGHSA enrichment
  74. 2026-08-09 21:35 UTCVendor advisory
  75. 2026-08-09 21:35 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-31705?
CVE-2026-31705 is a critical vulnerability published on May 1, 2026. In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bounds write in smb2getea() EA alignment smb2getea() applies 4-byte alignment padding via memset() after writing each EA entry. The bounds check on buffreelen is performed before the value memcpy, but the…
When was CVE-2026-31705 disclosed?
CVE-2026-31705 was first published in the National Vulnerability Database on May 1, 2026, with the most recent update on August 5, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-31705 actively exploited?
CVE-2026-31705 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 67.1% of all scored CVEs.
What is the CVSS score of CVE-2026-31705?
CVE-2026-31705 has a CVSS v4.0 base score of 9.8 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-31705?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-31705, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-31705

Explore →

Is Your Infrastructure Affected by CVE-2026-31705?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.