CVE-2025-10230
published critical CVSS 3.1 · 10.0Samba: command injection in wins server hook script
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | samba0 to < 4.21.9 · 4.22.0 to < 4.21.5 · 4.23.0 to < 4.23.2 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 8, 9, 10 | samba | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 6 | samba4 | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | samba | Fixed | 4.21.9-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | sambaaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Ubuntu | bionic | samba | Advisory build | 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3 | USN-7826-2 |
| Alpine Linux | v3.22 | samba | Fixed | 4.21.9-r0 | Package fix record |
| Alpine Linux | v3.23 | samba | Fixed | 4.21.9-r0 | Package fix record |
| Alpine Linux | v3.24 | samba | Fixed | 4.21.9-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | sambappc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambas390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | sambax86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambaaarch64 | Advisory build | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambappc64le | Advisory build | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambas390x | Advisory build | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
| SUSE / openSUSE | SLE-15-SP3 | sambax86_64 | Advisory build | 4.15.13+git.736.b791be993ba-150300.3.96.1 | SUSE-SU-2025:3677-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambaaarch64 | Advisory build | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambappc64le | Advisory build | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambas390x | Advisory build | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SUSE / openSUSE | SLE-15-SP4 | sambax86_64 | Advisory build | 4.15.13+git.736.b791be993ba-150400.3.40.1 | SUSE-SU-2025:03618-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambaaarch64 | Advisory build | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambappc64le | Advisory build | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambas390x | Advisory build | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SUSE / openSUSE | SLE-15-SP5 | sambax86_64 | Advisory build | 4.17.12+git.510.0efaadf376b-150500.3.34.1 | SUSE-SU-2025:03603-1 |
| SUSE / openSUSE | SLE-15-SP6 | sambaaarch64 | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | SLE-15-SP6 | sambappc64le | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | SLE-15-SP6 | sambas390x | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | SLE-15-SP6 | sambax86_64 | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | SLE-15-SP7 | sambaaarch64 | Advisory build | 4.21.8+git.418.e80c9b2a88c-150700.3.11.2 | SUSE-SU-2025:3676-1 |
| SUSE / openSUSE | SLE-15-SP7 | sambappc64le | Advisory build | 4.21.8+git.418.e80c9b2a88c-150700.3.11.2 | SUSE-SU-2025:3676-1 |
| SUSE / openSUSE | SLE-15-SP7 | sambas390x | Advisory build | 4.21.8+git.418.e80c9b2a88c-150700.3.11.2 | SUSE-SU-2025:3676-1 |
| SUSE / openSUSE | SLE-15-SP7 | sambax86_64 | Advisory build | 4.21.8+git.418.e80c9b2a88c-150700.3.11.2 | SUSE-SU-2025:3676-1 |
| SUSE / openSUSE | SLE-16 | sambaaarch64 | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | SUSE-SU-2025:21005-1 |
| SUSE / openSUSE | SLE-16 | sambappc64le | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | SUSE-SU-2025:21005-1 |
| SUSE / openSUSE | SLE-16 | sambas390x | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | SUSE-SU-2025:21005-1 |
| SUSE / openSUSE | SLE-16 | sambax86_64 | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | SUSE-SU-2025:21005-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | sambaaarch64 | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | sambappc64le | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | sambas390x | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | sambax86_64 | Advisory build | 4.19.8+git.435.78ced6cf30d-150600.3.21.1 | SUSE-SU-2025:03612-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | sambaaarch64 | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | OPENSUSE-SU-2025:20048-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | sambappc64le | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | OPENSUSE-SU-2025:20048-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | sambas390x | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | OPENSUSE-SU-2025:20048-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | sambax86_64 | Advisory build | 4.22.5+git.431.dc5a539f124-160000.1.1 | OPENSUSE-SU-2025:20048-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambaaarch64 | Advisory build | 4.22.5+git.431.dc5a539f124-1.1 | OPENSUSE-SU-2025:15649-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambappc64le | Advisory build | 4.22.5+git.431.dc5a539f124-1.1 | OPENSUSE-SU-2025:15649-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambas390x | Advisory build | 4.22.5+git.431.dc5a539f124-1.1 | OPENSUSE-SU-2025:15649-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | sambax86_64 | Advisory build | 4.22.5+git.431.dc5a539f124-1.1 | OPENSUSE-SU-2025:15649-1 |
| Ubuntu | focal | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu0.20.04.8+esm1 | USN-7826-2 |
| Ubuntu | jammy | samba | Advisory build | 2:4.15.13+dfsg-0ubuntu1.10 | USN-7826-1 |
| Ubuntu | noble | samba | Advisory build | 2:4.19.5+dfsg-4ubuntu9.4 | USN-7826-1 |
| Ubuntu | questing | samba | Advisory build | 2:4.22.3+dfsg-4ubuntu2.1 | USN-7826-1 |
| Ubuntu | trusty | samba | Advisory build | 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm15 | USN-7826-2 |
| Ubuntu | xenial | samba | Advisory build | 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4 | USN-7826-2 |
| SUSE / openSUSE | SLE-12-SP5 | ctdbppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | ctdbs390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | ctdbx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-develaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-develppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-devels390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-develx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-python3-develaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-python3-develppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-python3-devels390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy-python3-develx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy0-python3aarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy0-python3ppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy0-python3s390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy0-python3x86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy0-python3-32bits390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | libsamba-policy0-python3-32bitx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-clientaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-clientppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-clients390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-clientx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-32bits390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-32bitx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-libsaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-libsppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-libss390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-libsx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-libs-32bits390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-client-libs-32bitx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-develaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-develppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-devels390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-develx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-devel-32bits390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-devel-32bitx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-docnoarch | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-ldb-ldapaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-ldb-ldapppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-ldb-ldaps390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-ldb-ldapx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libsaarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libsppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libss390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libsx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libs-32bits390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libs-32bitx86_64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libs-python3aarch64 | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libs-python3ppc64le | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
| SUSE / openSUSE | SLE-12-SP5 | samba-libs-python3s390x | Advisory build | 4.15.13+git.664.e8416d8d213-3.99.1 | SUSE-SU-2025:03604-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| samba | 0 to < 4.21.9 (affected · semver)4.22.0 to < 4.21.5 (affected · semver)4.23.0 to < 4.23.2 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
5- https://access.redhat.com/security/cve/CVE-2025-10230
- RHBZ#2394377 https://bugzilla.redhat.com/show_bug.cgi?id=2394377
- https://www.samba.org/samba/history/security.html
- https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerability
Provider assertions
3redhat · cna
Samba: command injection in wins server hook script
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d25bc2b3547f86a764cf65f8e74b476dc69a0936a14d2af886d51240d8d0c0cc
- Ingested
- 23 Nov 2026, 14:48:45 UTC
- Source record
- Official CVE record