A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- gist.github.com /ZjW1nd/0b95b63307ceee7890e88e4abc6f041e
- github.com /sahlberg/libsmb2
- github.com /sahlberg/libsmb2/blob/master/lib/compat.c
- github.com /sahlberg/libsmb2/commit/5e75eebf922b338cdb548d60cffb3b997d…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning