Use of Uninitialized Resource Affecting samba package, versions [,4.21.9)[4.22.0rc1,4.22.5)[4.23.0rc1,4.23.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SAMBA-13560498
  • published16 Oct 2025
  • disclosed15 Oct 2025
  • creditAndrew Walker of IX Systems and the Samba Team

Introduced: 15 Oct 2025

NewCVE-2025-9640  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade samba to version 4.21.9, 4.22.5, 4.23.2 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource via the vfs_streams_xattr process. An attacker can access residual heap memory fragments by writing to alternate data streams as an authenticated user with write permissions, potentially exposing non-deterministic memory content that may include sensitive information.

Note: This is only exploitable if the attacker has authenticated access and write permissions to files using the vfs_streams_xattr module.

CVSS Base Scores

version 4.0
version 3.1