# CVE-2026-64381: smb: client: Fix next buffer leak in receive\_encrypted\_standard()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-07-25T08:50:31.209Z
- **Modified:** 2026-11-06T17:18:53.167Z

## Who should check

- Anyone running Linux \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 94e4f672db029414b9888b5137a7559f1febf2d8; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 68fc0b6cc03ca58060c0f36454e169f5fe258974; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 07e0ab81df1790afa35732a4e8e07ff831b29008; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 9136a08dc29328edd9867f2545e73906ac9df93b; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 67097772df7791c53d608f04bd31c676ccf79b83; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 297243e365fc9fe2f8e9b7dd535a65d922cd108b; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 927d4805aea0a287d36dd4f826ee24d69a2afee3; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b
- Anyone running Linux 4.19

## Description

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

smb: client: Fix next buffer leak in receive\_encrypted\_standard()

receive\_encrypted\_standard() allocates next\_buffer before checking
whether the number of compound PDUs already reached MAX\_COMPOUND. If
the limit check fails, the function returns immediately and the newly
allocated next\_buffer is not assigned to server-\>smallbuf/server-\>bigbuf,
making it leaked.

Move the MAX\_COMPOUND check before allocating next\_buffer.

## Affected and fixed versions

- Linux: \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 94e4f672db029414b9888b5137a7559f1febf2d8; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 68fc0b6cc03ca58060c0f36454e169f5fe258974; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 07e0ab81df1790afa35732a4e8e07ff831b29008; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 9136a08dc29328edd9867f2545e73906ac9df93b; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 67097772df7791c53d608f04bd31c676ccf79b83; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 297243e365fc9fe2f8e9b7dd535a65d922cd108b; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 927d4805aea0a287d36dd4f826ee24d69a2afee3; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64381. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64381.md
Affected: Linux >= b24df3e30cbf48255db866720fb71f14bf9d2f39, < 94e4f672db029414b9888b5137a7559f1febf2d8; >= b24df3e30cbf48255db866720fb71f14bf9d2f39, < 68fc0b6cc03ca58060c0f36454e169f5fe258974; >= b24df3e30cbf48255db866720fb71f14bf9d2f39, < 07e0ab81df1790afa35732a4e8e07ff831b29008; >= b24df3e30cbf48255db8667…
Fixed in: Linux 94e4f672db029414b9888b5137a7559f1febf2d8, Linux 68fc0b6cc03ca58060c0f36454e169f5fe258974, Linux 07e0ab81df1790afa35732a4e8e07ff831b29008, Linux 9136a08dc29328edd9867f2545e73906ac9df93b, Linux 67097772df7791c53d608f04bd31c676ccf79b83, Linux 297243e365fc9fe2f8e9b7dd535a65d922cd108b, Linux 927d4…

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.
```

## FAQ

### Is CVE-2026-64381 being exploited?

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

### How serious is CVE-2026-64381?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64381?

Linux \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 94e4f672db029414b9888b5137a7559f1febf2d8; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 68fc0b6cc03ca58060c0f36454e169f5fe258974; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 07e0ab81df1790afa35732a4e8e07ff831b29008; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 9136a08dc29328edd9867f2545e73906ac9df93b; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 67097772df7791c53d608f04bd31c676ccf79b83; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 297243e365fc9fe2f8e9b7dd535a65d922cd108b; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 927d4805aea0a287d36dd4f826ee24d69a2afee3; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b; Linux 4.19.

### Is there a fix for CVE-2026-64381?

Yes. Fixed in Linux 94e4f672db029414b9888b5137a7559f1febf2d8, Linux 68fc0b6cc03ca58060c0f36454e169f5fe258974, Linux 07e0ab81df1790afa35732a4e8e07ff831b29008, Linux 9136a08dc29328edd9867f2545e73906ac9df93b, Linux 67097772df7791c53d608f04bd31c676ccf79b83, Linux 297243e365fc9fe2f8e9b7dd535a65d922cd108b, Linux 927d4805aea0a287d36dd4f826ee24d69a2afee3, Linux 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b. Upgrade Linux to 1c6267a1d5cf4c73b656f8181b310cbbb3e4767b or later.

### How do I check if I'm affected by CVE-2026-64381?

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.

## References

- patch: <https://git.kernel.org/stable/c/94e4f672db029414b9888b5137a7559f1febf2d8>
- patch: <https://git.kernel.org/stable/c/68fc0b6cc03ca58060c0f36454e169f5fe258974>
- patch: <https://git.kernel.org/stable/c/07e0ab81df1790afa35732a4e8e07ff831b29008>
- patch: <https://git.kernel.org/stable/c/9136a08dc29328edd9867f2545e73906ac9df93b>
- patch: <https://git.kernel.org/stable/c/67097772df7791c53d608f04bd31c676ccf79b83>
- patch: <https://git.kernel.org/stable/c/297243e365fc9fe2f8e9b7dd535a65d922cd108b>
- patch: <https://git.kernel.org/stable/c/927d4805aea0a287d36dd4f826ee24d69a2afee3>
- patch: <https://git.kernel.org/stable/c/1c6267a1d5cf4c73b656f8181b310cbbb3e4767b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64381>

HTML: <https://flawdb.com/CVE-2026-64381> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64381>
