This report was translated by AI; nobody has reviewed the translation yet. Original language: Czech.

[TLP:CLEAR] Samba fixes 2 vulnerabilities

Samba versions 4.23.2, 4.22.5 and 4.21.9 fix 2 vulnerabilities, one of them critical [1].

Samba - command injection (CVE-2025-10230)
CVSS 10.0 (Critical)

Due to insufficient validation of NetBIOS names that are inserted into a command executed by the shell within the script defined by the wins hook parameter (on a Samba Active Directory domain controller with WINS support enabled), an unauthenticated remote attacker can execute arbitrary commands on the host system [1].

The vulnerability is present in product:

  • Samba; >=4.0.0, <=4.23.1

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

More information:

  • CVE-2025-10230 at cve.org, NVD
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') at cwe.mitre.org

The vulnerability was publicly disclosed 15. 10. 2025.

Samba - sensitive data leak (CVE-2025-9640)
CVSS 4.3 (Medium)

Due to incorrect memory initialization in the streams_xattr_pwrite() function in the vfs_streams_xattr module, an authenticated remote attacker can read sensitive data from heap memory [2].

The vulnerability is present in product:

  • Samba; >=3.2.0, <4.21.9

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

More information:

The vulnerability was publicly disclosed 15. 10. 2025.


By CESNET, z.s.p.o. Michaela Jarošová on 19. 11. 2025.

CESNET, z.s.p.o. Logo