CVE-2025-10230 Samba: command injection in wins server hook script
CriticalCVSS 10.0
EPSS 39.8%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
12 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/samba(Alpine v3.22) | < 4.21.9-r0 | 4.21.9-r0 | Fixed |
| alpine/samba(Alpine v3.23) | < 4.21.9-r0 | 4.21.9-r0 | Fixed |
| alpine/samba(Alpine v3.24) | < 4.21.9-r0 | 4.21.9-r0 | Fixed |
| debian/samba(Debian 12) | < 2:4.17.12+dfsg-0+deb12u3; = 2:4.17.8+dfsg-2; = 2:4.17.8+dfsg-2.1; = 2:4.17.9+dfsg-0+deb12u1 +9 more | 2:4.17.12+dfsg-0+deb12u3 | Fixed |
| debian/samba(Debian 13) | < 2:4.22.6+dfsg-0+deb13u1; = 2:4.22.3+dfsg-4; = 2:4.22.4+dfsg-1; = 2:4.22.4+dfsg-1~deb13u1 +2 more | 2:4.22.6+dfsg-0+deb13u1 | Fixed |
| debian/samba(Debian 14) | < 2:4.23.2+dfsg-1; = 2:4.22.3+dfsg-4; = 2:4.22.4+dfsg-1; = 2:4.22.4+dfsg-1~deb13u1 +8 more | 2:4.23.2+dfsg-1 | Fixed |
| samba | < 4.21.9; >= 4.22.0, < 4.21.5; >= 4.23.0, < 4.23.2 | 4.21.5, 4.21.9, 4.23.2 | Fixed |
| ubuntu/samba(Ubuntu 22.04) | < 2:4.15.13+dfsg-0ubuntu1.10 | 2:4.15.13+dfsg-0ubuntu1.10 | Fixed |
| ubuntu/samba(Ubuntu 24.04) | < 2:4.19.5+dfsg-4ubuntu9.4 | 2:4.19.5+dfsg-4ubuntu9.4 | Fixed |
| redhat enterprise linux | = 8; = 9; = 10 | No fix listed | Versions listed |
| redhat openshift | = 4 | No fix listed | Versions listed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/samba(Debian:12) | < 2:4.17.12+dfsg-0+deb12u3 | 2:4.17.12+dfsg-0+deb12u3 |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.11+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2.1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3~bpo11+1 | No fix listed |
| debian/samba(Debian:13) | < 2:4.22.6+dfsg-0+deb13u1 | 2:4.22.6+dfsg-0+deb13u1 |
| debian/samba(Debian:13) | = 2:4.22.3+dfsg-4 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1~deb13u1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.6+dfsg-0+deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:14) | < 2:4.23.2+dfsg-1 | 2:4.23.2+dfsg-1 |
| debian/samba(Debian:14) | = 2:4.22.3+dfsg-4 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1~deb13u1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-1 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-2 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-3 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc3+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.1+dfsg-1 | No fix listed |
| samba | < 4.21.9 | 4.21.9 |
| samba | >= 4.22.0, < 4.21.5 | 4.21.5 |
| samba | >= 4.23.0, < 4.23.2 | 4.23.2 |
| redhat enterprise linux | = 10 | No fix listed |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat openshift | = 4 | No fix listed |
| ubuntu/samba(Ubuntu:22.04) | < 2:4.15.13+dfsg-0ubuntu1.10 | 2:4.15.13+dfsg-0ubuntu1.10 |
| alpine/samba(Alpine:v3.22) | < 4.21.9-r0 | 4.21.9-r0 |
| alpine/samba(Alpine:v3.23) | < 4.21.9-r0 | 4.21.9-r0 |
| alpine/samba(Alpine:v3.24) | < 4.21.9-r0 | 4.21.9-r0 |
| ubuntu/samba(Ubuntu:24.04) | < 2:4.19.5+dfsg-4ubuntu9.4 | 2:4.19.5+dfsg-4ubuntu9.4 |
References
- Debian Security Tracker CVE-2025-10230 vendor-advisory
- access.redhat.com vdb-entry
- RHBZ#2394377 issue-tracking
- www.samba.org
- www.vicarius.io
- www.vicarius.io
- Ubuntu CVE tracker vendor-advisory
- USN-7826-1 vendor-advisory
- USN-7826-2 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2025-38301 third-party-advisory