Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52440

CRITICAL 9.8EPSS 54%

ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()

Mitigation

  • Upgrade Linux to 4b081ce0d830b684fdf967abc3696d1261387254 or later.

Who should check

  • Anyone running Linux >= c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef, < bd554ed4fdc3d38404a1c43d428432577573e809; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < ecd7e1c562cb08e41957fcd4b0e404de5ab38e20; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 4b081ce0d830b684fdf967abc3696d1261387254
  • Anyone running Linux 5.17

Vulnerability facts

Affected
Linux >= c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef, < bd554ed4fdc3d38404a1c43d428432577573e809; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < ecd7e1c562cb08e41957fcd4b0e404de5ab38e20; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 4b081ce0d830b684fdf967abc3696d1261387254; Linux 5.17
Fixed in
Linux 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba, Linux 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4, Linux 4b081ce0d830b684fdf967abc3696d1261387254
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.81% chance of exploitation in 30 days (percentile 54, 2026-11-26)
CWE
CWE-119
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob() If authblob->SessionKey.Length is bigger than session key size(CIFS_KEY_SIZE), slub overflow can happen in key exchange codes. cifs_arc4_crypt copy to session key array from SessionKey from client.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef, < bd554ed4fdc3d38404a1c43d428432577573e809; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < ecd7e1c562cb08e41957fcd4b0e404de5ab38e20; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 4b081ce0d830b684fdf967abc3696d1261387254—cvelist
Linux5.17—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-2023-52440. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52440.md
Affected: Linux >= c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef, < bd554ed4fdc3d38404a1c43d428432577573e809; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4; >= f9929ef6a2a55f03aac6124…
Fixed in: Linux 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba, Linux 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4, Linux 4b081ce0d830b684fdf967abc3696d1261387254

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

FAQ

Is CVE-2023-52440 being exploited?

There is no confirmed exploitation: CVE-2023-52440 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.81% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-52440?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2023-52440?

Linux >= c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef, < bd554ed4fdc3d38404a1c43d428432577573e809; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < ecd7e1c562cb08e41957fcd4b0e404de5ab38e20; >= f9929ef6a2a55f03aac61248c6a3a987b8546f2a, < 4b081ce0d830b684fdf967abc3696d1261387254; Linux 5.17.

Is there a fix for CVE-2023-52440?

Yes. Fixed in Linux 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba, Linux 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4, Linux 4b081ce0d830b684fdf967abc3696d1261387254. Upgrade Linux to 4b081ce0d830b684fdf967abc3696d1261387254 or later.

How do I check if I'm affected by CVE-2023-52440?

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.

Sponsors