Skip to main content
VulnerabilityPublished Updated

CVE-2025-57632: libsmb2 6.2+ is vulnerable to Buffer Overflow

Affects libsmb2Source GCVE Database

0
Compare
Authoritative record:CVE-2025-57632· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libsmb2pkg:deb/ubuntu/libsmb2?arch=source&distro=stonkingOther threatsAffected
  • =6.2+dfsg-3
  • =6.2+dfsg-4
Fixed in–
Ubuntu 26.04 LTSlibsmb2pkg:deb/ubuntu/libsmb2?arch=source&distro=resoluteOther threatsAffected
  • =6.2+dfsg-2
  • =6.2+dfsg-3
Fixed in–
Ubuntu 25.10libsmb2pkg:deb/ubuntu/libsmb2?arch=source&distro=questingOther threatsAffected
  • =6.2+dfsg-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…