CVE-2025-10230
November 07, 2025
A flaw was found in Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller’s wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.
Affected Packages
https://github.com/samba-team/samba.git (GITHUB):
Affected version(s) >=samba-4.0.0alpha1 <samba-4.21.9Fix Suggestion:
Update to version samba-4.21.9https://github.com/samba-team/samba.git (GITHUB):
Affected version(s) >=samba-4.22.0rc1 <samba-4.22.5Fix Suggestion:
Update to version samba-4.22.5https://github.com/samba-team/samba.git (GITHUB):
Affected version(s) >=samba-4.23.0rc1 <samba-4.23.2Fix Suggestion:
Update to version samba-4.23.2Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
Base Score:
0.28