{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-57632","published":"2025-09-25T20:15:35.237000Z","last_modified":"2026-11-05T23:10:00.150000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-120"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2025-57632/","html_en":"/en/cve/CVE-2025-57632/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-57632","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-57632"},"untrusted":{"desc_en":"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.","affected":[],"references":[{"url":"https://gist.github.com/ZjW1nd/0b95b63307ceee7890e88e4abc6f041e","tags":[]},{"url":"https://github.com/sahlberg/libsmb2","tags":[]},{"url":"https://github.com/sahlberg/libsmb2/blob/master/lib/compat.c#L569","tags":[]},{"url":"https://github.com/sahlberg/libsmb2/commit/5e75eebf922b338cdb548d60cffb3b997d2a12e8","tags":[]}]}}