{"id":"CVE-2025-57632","aliases":["DEBIAN-CVE-2025-57632","EUVD-2025-31154","GHSA-h8w6-x833-p4x4","UBUNTU-CVE-2025-57632"],"status":"published","title":"libsmb2 6.2+ is vulnerable to Buffer Overflow. When processing SMB2 chained PDUs (NextCommand),...","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00584,"percentile":0.48239,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2025-09-25T00:00:00Z","modified":"2026-11-05T23:10:00Z","fixes":[{"ecosystem":"Debian:13","package":"libsmb2","fixed_in":["6.2+dfsg-2+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libsmb2","fixed_in":["6.2+dfsg-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"libsmb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2+dfsg-2+deb13u1"}]}],"versions":["6.2+dfsg-2"]},{"source":"osv","ecosystem":"Debian:14","package":"libsmb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2+dfsg-3"}]}],"versions":["6.2+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libsmb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libsmb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2+dfsg-3","6.2+dfsg-4"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libsmb2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2+dfsg-2","6.2+dfsg-3"]}],"references":[{"url":"https://github.com/sahlberg/libsmb2","tags":["package","report"]},{"url":"https://github.com/sahlberg/libsmb2/blob/master/lib/compat.c#L569","tags":["web","report"]},{"url":"https://gist.github.com/ZjW1nd/0b95b63307ceee7890e88e4abc6f041e","tags":["web","report"]},{"url":"https://github.com/sahlberg/libsmb2/commit/5e75eebf922b338cdb548d60cffb3b997d2a12e8","tags":["fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57632","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-h8w6-x833-p4x4"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/57xxx/CVE-2025-57632.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-57632","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-57632","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-57632","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-57632","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","status":"published","published":"2025-09-25T00:00:00Z","modified":"2026-01-14T14:51:53.09Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:32:35.099955Z"}],"euvd":[{"id":"EUVD-2025-31154","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","status":"published","published":"2025-09-25T00:00:00Z","modified":"2026-01-14T14:51:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T19:48:51.744142Z"}],"ghsa":[{"id":"GHSA-h8w6-x833-p4x4","title":"libsmb2 6.2+ is vulnerable to Buffer Overflow. When processing SMB2 chained PDUs (NextCommand),...","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","status":"published","published":"2025-09-25T21:30:25Z","modified":"2026-01-14T15:32:58Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T15:05:36.376178Z"}],"nvd":[{"id":"CVE-2025-57632","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","status":"published","published":"2025-09-25T20:15:35.237Z","modified":"2026-11-05T23:10:00.15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-06T01:57:37.498693Z"}],"osv":[{"id":"CVE-2025-57632","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","status":"published","published":"2025-09-25T00:00:00Z","modified":"2026-11-07T07:03:44.886512402Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-07T03:07:57.67871Z"},{"id":"DEBIAN-CVE-2025-57632","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","status":"published","published":"2025-09-25T20:15:35.237Z","modified":"2026-09-01T20:05:54.660560286Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:47.697959Z"},{"id":"UBUNTU-CVE-2025-57632","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-\u003eniov (SMB2_MAX_VECTORS=256). An attacker can craft responses with many chained PDUs to overflow v-\u003eniov 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.","status":"published","published":"2025-09-25T20:15:00Z","modified":"2026-10-17T12:57:09.082853178Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.817402Z"}]}}
