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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | samba | < 4.21.9, 4.22.0 – < 4.21.5, 4.23.0 – < 4.23.2 | 4.21.9 |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| 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 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | samba | 2:4.23.2+dfsg-1 | — |
| Debian 13 | samba | 2:4.22.6+dfsg-0+deb13u1 | — |
| Debian 12 | samba | 2:4.17.12+dfsg-0+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | samba | 2:4.22.3+dfsg-4ubuntu2.1 | USN-7826-1 |
| Ubuntu 24.04 LTS | samba | 2:4.19.5+dfsg-4ubuntu9.4 | USN-7826-1 |
| Ubuntu 22.04 LTS | samba | 2:4.15.13+dfsg-0ubuntu1.10 | USN-7826-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | samba | 2:4.15.13+dfsg-0ubuntu0.20.04.8+esm1 | USN-7826-2 |
| Ubuntu Pro 18.04 LTS | samba | 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3 | USN-7826-2 |
| Ubuntu Pro 16.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4 | USN-7826-2 |
| Ubuntu Pro 14.04 LTS | samba | 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm15 | USN-7826-2 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | samba | 4.21.8+git.418.e80c9b2a88c-150700.3.11.2 | SUSE-SU-2025:3676-1 |
| SLES 15 SP6 | samba | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SLES 15 SP5 | samba | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SLES 15 SP4 | samba | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SLES 15 SP3 | samba | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | samba | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SLES for SAP 16.0 | samba | 4.22.5+git.431.dc5a539f124-160000.1.1 | SUSE-SU-2025:21005-1 |
| SLES for SAP 15 SP5 | samba | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SLES for SAP 15 SP4 | samba | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SLES for SAP 15 SP3 | samba | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
| SLES 16.0 | samba | 4.22.5+git.431.dc5a539f124-160000.1.1 | SUSE-SU-2025:21005-1 |
| SLE Micro 6.2 | samba | 4.22.5+git.431.dc5a539f124-160000.1.1 | SUSE-SU-2025:21026-1 |
| SLE Micro 5.5 | samba | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SLE Micro 5.4 | samba | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SLE Micro 5.3 | samba | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SLE Micro 5.2 | samba | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
| SLE HPC 15 SP5 | samba | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SLE HPC 15 SP4 | samba | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SLE HPC 15 SP3 | samba | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
| SUSE Manager Server LTS 4.3 | samba | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SUSE Manager Proxy LTS 4.3 | samba | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SUSE Enterprise Storage 7.1 | samba | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | samba | 4.22.5+git.431.dc5a539f124-1.1 | openSUSE-SU-2025:15649-1 |
| openSUSE Leap 16.0 | samba | 4.22.5+git.431.dc5a539f124-160000.1.1 | openSUSE-SU-2025:20048-1 |
| openSUSE Leap 15.6 | samba | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | samba | 4.21.9-r0 | — |
| Alpine v3.23 | samba | 4.21.9-r0 | — |
| Alpine v3.22 | samba | 4.21.9-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | samba | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | samba | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
dptsec/CVE-2025-10230 ★ 6 · Oct 19, 2025
PoC for CVE-2025-10230 - Samba WINS hook command injection
-
nehkark/CVE-2025-10230 ★ 1 · Nov 23, 2025
CVE-2025-10230 PoC - Samba WINS Hook Command Injection
-
marcostolosa/CVE-2025-10230 ★ 0 · Nov 26, 2025
OS command injection vulnerability in Samba that received the maximum possible CVSS v3.1 score of 10.0
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 15
- WID-SEC-2026-0489 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 21, 2026
- WID-SEC-2026-0349 Dell Avamar und NetWorker: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- USN-7826-2 samba vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-7826-1 samba vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2025:20048-1 Security update for samba SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15649-1 ctdb-4.22.5+git.431.dc5a539f124-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:3676-1 Security update for samba SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:3677-1 Security update for samba SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21026-1 Security update for samba SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03603-1 Security update for samba SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21005-1 Security update for samba SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03604-1 Security update for samba SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2025-2322 Samba: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 11, 2026
- SUSE-SU-2025:03618-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03612-1 Security update for samba SUSE / openSUSE Security Updates · Feb 4, 2026