CVE-2025-57632: Buffer Overflow

Published Sep 25, 2025
·
Updated

libsmb2 6.2+ is vulnerable to Buffer Overflow. When processing SMB2 chained PDUs (NextCommand), libsmb2 repeatedly calls smb2addiovector() to append to a fixed-size iovec array without checking the upper bound of v->niov (SMB2MAXVECTORS=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 SMB2OPLOCKBREAK path bypasses message ID validation.

Affected Software

1 affected component
libsmb2 libsmb2>=6.2

Event History

Sep 25, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-57632?

CVE-2025-57632 has been classified with high severity due to the potential exploitation of a buffer overflow vulnerability.

2

How do I fix CVE-2025-57632?

To fix CVE-2025-57632, update libsmb2 to the latest version that addresses this buffer overflow issue.

3

What systems are affected by CVE-2025-57632?

CVE-2025-57632 affects libsmb2 version 6.2 and above.

4

What type of vulnerability is CVE-2025-57632?

CVE-2025-57632 is a buffer overflow vulnerability that occurs when processing SMB2 chained PDUs.

5

Can CVE-2025-57632 be exploited remotely?

Yes, an attacker can remotely exploit CVE-2025-57632 by sending specially crafted responses that trigger the buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203