Skip to main content

libsmb2 EUVDEUVD-2026-101135

| CVE-2026-110712 HIGH
Out-of-bounds Read (CWE-125)
2026-10-14 VulnCheck GHSA-r4h5-4wv2-c8cj
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure client to malicious SMB server or MITM unsigned session
  2. Exploit
    Client issues smb2_stat/smb2_fstat query
  3. Execution
    Server returns crafted FileAllInformation with oversized FileNameLength
  4. Impact
    Heap out-of-bounds read crashes the client

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control the SMB server the libsmb2 client connects to, OR to perform a man-in-the-middle on an SMB session that is NOT signed (SMB signing mitigates the MITM path). The vulnerable client must additionally invoke smb2_stat or smb2_fstat so that the server-supplied FileAllInformation reply is parsed by smb2_decode_file_all_info with an unchecked FileNameLength at offset 96. Limiting factors: the victim is the client (not a listening service), passive user interaction is needed to initiate the connection (UI:P), and the impact is confined to a crash of the client process - there is no privilege requirement (PR:N) but also no code execution or data exposure.

Impact

This is a genuine but bounded issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) correctly scopes impact to availability only - VC:N and VI:N confirm there is no confidentiality or integrity loss, so despite the 7.1 'High' score this is a client-side denial-of-service (crash), not RCE or data theft. A publicly available exploit/write-up exists (hackmd PoC), which raises the practical likelihood of opportunistic abuse, but the CVE is NOT in CISA KEV and no EPSS score was provided in the input, so there is no evidence of active, widespread exploitation - treat PoC availability and active exploitation as distinct signals. The attack is unauthenticated (PR:N) and network-reachable, but it is inverted from typical server-side flaws: the VICTIM is the SMB client, and the attacker must either operate a malicious SMB server the client connects to or perform a man-in-the-middle on an unsigned session, plus the client must actually issue a stat/fstat call (UI:P). Net: prioritize patching for environments where libsmb2 clients connect to untrusted servers or run over unsigned SMB, but this is a crash/availability bug, not a critical compromise vector. One signal tension worth noting: a 'Information Disclosure' tag is present, yet the CVSS (VC:N) and the description (only 'crash the client') indicate no data disclosure - verify impact scope with the VulnCheck advisory before classifying this as an info-leak.

Exploit ScenarioDerived

A user running an application built on libsmb2 (≤6.2) connects to an attacker-controlled SMB server, or an attacker on-path MITMs an unsigned SMB session. When the client performs a smb2_stat/smb2_fstat, the server returns a crafted FileAllInformation reply with an oversized FileNameLength, triggering a heap out-of-bounds read in smb2_decode_file_all_info and crashing the client. A public PoC/write-up demonstrating the OOB read exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

A heap out-of-bounds read in libsmb2 through 6.2 lets a malicious SMB server (or a man-in-the-middle on an unsigned SMB session) crash a connecting client by returning a crafted FileAllInformation reply with an unchecked FileNameLength field. The bug is reached when the client library parses the server's reply inside smb2_decode_file_all_info, which is triggered by calls such as smb2_stat or smb2_fstat on the client side; publicly available exploit code exists, and a vendor fix is available upstream. Per the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H), impact is limited to client process availability - there is no code execution or data exposure, and unauthenticated remote attackers need the victim to initiate a connection to the attacker-controlled server.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - this is addressed by commit 57bee9fb941a39307145b82e4dd1718862f30a74 in https://github.com/sahlberg/libsmb2, which adds a return-value check on smb2_get_uint32 and clamps FileNameLength to vec->len - 100; integrators should update to a libsmb2 release that contains this commit and confirm the shipped version with the vendor before assuming coverage. Where upgrading is not immediately possible, the practical compensating controls are: enforce SMB signing on all sessions so the man-in-the-middle variant of the attack is blocked (note this does not mitigate a client that is deliberately pointed at a malicious server), and restrict libsmb2-based clients to connect only to explicitly trusted, known SMB servers or to authenticated shares rather than arbitrary user-supplied hosts - this removes the untrusted-server vector but is operationally restrictive. Additionally, applications that do not require metadata queries can reduce exposure by avoiding smb2_stat/smb2_fstat against untrusted endpoints where the feature set allows it; this narrows but does not fully eliminate the attack surface, since other query-info paths may still reach the same parser. Patch references and the coordinator advisory are at https://github.com/sahlberg/libsmb2/commit/57bee9fb941a39307145b82e4dd1718862f30a74 and https://www.vulncheck.com/advisories/libsmb2-through-6.2-heap-out-of-bounds-read-via-smb2-decode-file-all-info.

Affected VersionsENISA

libsmb2 0 ≤6.2

Affected Packages

euvd libsmb2 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libsmb2 is a client-side SMB2/SMB3 protocol library used by applications that need to talk to SMB/CIFS file shares. The vulnerability is a classic CWE-125 out-of-bounds read in the SMB2 query-info reply parser: smb2_decode_file_all_info() reads a fixed-offset field (FileNameLength / name_len at offset 96 of the FileAllInformation structure) directly from the server-supplied response buffer via smb2_get_uint32(), whose return value was originally ignored, and then uses that attacker-controlled length to bound a subsequent read of the UTF-16 FileName. Because the length is never validated against the actual size of the received buffer (vec->len), a short or malformed reply from a hostile server causes the parser to read past the end of a heap allocation. The CPE cpe:2.3:a:sahlberg:libsmb2:*:*:*:*:*:*:*:* indicates all versions of the sahlberg libsmb2 library up to and including 6.2 are in scope. The upstream commit 57bee9fb941a39307145b82e4dd1718862f30a74 fixes this by checking the return status of smb2_get_uint32(vec, 96, &name_len) and by clamping name_len to vec->len - 100, truncating the name length when the server supplies a short reply instead of reading beyond the buffer.

Know when Libsmb2 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable client attack needing no auth (PR:N) but requiring the victim to connect/query a malicious or MITM'd server (UI:R); impact is crash-only, so C:N/I:N/A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

libsmb2 through 6.2 contains a heap out-of-bounds read vulnerability in smb2_decode_file_all_info that allows malicious SMB servers to crash clients by sending an unchecked FileNameLength. Attackers controlling the server or performing man-in-the-middle on unsigned sessions can return crafted FileAllInformation replies to smb2_stat or smb2_fstat calls, crashing the client.

Executive ViewAI

Why It Matters

libsmb2, a client-side SMB library used in various applications, contains a high-severity heap out-of-bounds read vulnerability (CVE-2026-110712) that allows a malicious SMB server to crash connecting clients, impacting availability. Although exploitation requires a user to connect to a malicious server, publicly available exploit code exists and unauthenticated attackers can trigger the crash. Organizations relying on affected libsmb2 versions should prioritize patching to prevent disruption to file-sharing operations.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche open-source SMB client library, limited and embedded-oriented footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy