Description
libsmb2 through 6.2 contains a heap out-of-bounds read vulnerability in smb2_decode_file_all_info that allows malicious SMB servers to crash clients by sending an unchecked FileNameLength. Attackers controlling the server or performing man-in-the-middle on unsigned sessions can return crafted FileAllInformation replies to smb2_stat or smb2_fstat calls, crashing the client.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| sahlberg | libsmb2 | <= 6.2 |
References
- https://github.com/sahlberg/libsmb2
- https://github.com/sahlberg/libsmb2/blob/d67e213a5c4e7e4969fd81f0b95e4ca5831fbba1/lib/smb2-data-file-info.c#L202
- https://github.com/sahlberg/libsmb2/commit/57bee9fb941a39307145b82e4dd1718862f30a74
- https://hackmd.io/@haind-pwn/libsmb2-query-info-reply-oob-read
- https://www.vulncheck.com/advisories/libsmb2-through-6.2-heap-out-of-bounds-read-via-smb2-decode-file-all-info
Timeline
- Published
- Oct 14, 2026
- Last modified
- Oct 16, 2026
- NVD status
- Deferred