CVE-2025-10230
CRITICAL 10.0CVSS 3.1Samba: 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.
- Published
- 7 Nov 2025
- Last modified
- 23 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://www.samba.org/ | samba | < 4.21.9; >= 4.22.0, < 4.21.5; >= 4.23.0, < 4.23.2 | 4.21.9, 4.21.5, 4.23.2 |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:enterprise_linux:10 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | samba4cpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:enterprise_linux:8 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | sambacpe:/o:redhat:enterprise_linux:9 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-8cpe:/a:redhat:openshift:4 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4 |
References
- https://access.redhat.com/security/cve/CVE-2025-10230 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2394377 · issue-tracking, x_refsource_REDHAT
- 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
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 7 Nov 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 7 Nov 2025)