Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-57632
VULNERABILITY

CVE-2025-57632

Common Vulnerabilities and Exposures record

HIGH

Summary

libsmb2 6.2+ is vulnerable to Buffer Overflow. When processing SMB2 chained PDUs (NextCommand), libsmb2 repeatedly calls smb2_add_iovector() to append to a fixed-size iovec array without checking the upper bound of v->niov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v->niov and perform heap out-of-bounds writes, causing memory corruption, crashes, and potentially arbitrary code execution. The SMB2_OPLOCK_BREAK path bypasses message ID validation.

Risk

CVSS
7.5
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Timeline

Published
Sep 25, 2025 20:15
Modified
Nov 5, 2026 23:10
Last observed
Nov 5, 2026 19:01

CWE

CWE-120

References