CVE-2025-10230
Samba: command injection in wins server hook script
Reported by redhat · Published November 7, 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba | www.samba.org | 4.23.2, 4.21.9, 4.21.5 |
| samba | Alpine | 4.21.9-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0, 4.22.0, 4.23.0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| 0, 4.23.0, 4.22.0 | ||
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 10 |
Timeline
- Oct 15, 2025 PoC Published (50 in total, the first dated here)
- Oct 15, 2025 CVE Published
- Nov 7, 2025 Coalition ESS Score (2 in total, the first dated here)
- Nov 8, 2025 EPSS Score (30 in total, the first dated here)
- Dec 25, 2025 CVE Updated
- Jun 2, 2026 Security Advisory (10 in total, the first dated here)
- Oct 4, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-10230
vulnetix vdb fixes CVE-2025-10230
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-10230/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vdb-entryx_refsource_REDHAT
- RHBZ#2394377 issue-trackingx_refsource_REDHAT
- https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability url
- https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerability url