Red Hat Enterprise Linux 10
Samba: command injection in wins server hook script
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.21.9
- >= 4.22.0, < 4.21.5
- >= 4.23.0, < 4.23.2
Fixed in 4.21.9, 4.21.5, 4.23.2
Mitigation
Upgrade the affected product to 4.21.9 or 4.21.5 or 4.23.2 or later.
Workaround
No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.
Timeline
Days relative to CVE publicationFirst public PoC 19 days before publication; not in CISA KEV. First PoC: dptsec/CVE-2025-10230 (created 19 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 suspicious or fake
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dptsec/CVE-2025-10230 | 19 Oct 2025 −19 d | 6 | PoC |
| nehkark/CVE-2025-10230 | 23 Nov 2025 +15 d | 1 | PoC |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| marcostolosa/CVE-2025-10230 | 26 Nov 2025 +19 d | 0 | Suspicious · score 65
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.