---
id: CVE-2025-10230
title: >-
  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
summary: >-
  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
  inserte…
severity: critical
cvss: 10
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2025-11-07'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-10230'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-10230'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2394377'
    label: secalert@redhat.com
  - url: 'https://www.samba.org/samba/history/security.html'
    label: secalert@redhat.com
  - url: >-
      https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerability
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - exploit-available
epss: 0.39653
epssPercentile: 0.98567
ingestedAt: '2026-06-29T13:24:34.595Z'
exploits:
  github: 3
  githubRepos:
    - 'https://github.com/dptsec/CVE-2025-10230'
    - 'https://github.com/nehkark/CVE-2025-10230'
    - 'https://github.com/marcostolosa/CVE-2025-10230'
  checkedAt: '2026-09-25T08:20:44.506Z'
exploitAvailable: true
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
