cve.bz

CVE-2025-9640 Use of Uninitialized Resource

4.3 mediumEPSS 0.5%

Medium (4.3). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Samba, in the vfs_streams_xattr module, where uninitialized heap memory could be written into alternate data streams. This allows an authenticated user to read residual memory content that may include sensitive data, resulting in an information disclosure vulnerability.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-908 Use of Uninitialized Resource
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-9640 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-9640?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-9640?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-9640 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11samba2:4.13.13+dfsg-1~deb11u7DLA-4384-1
Debian12samba2:4.17.12+dfsg-0+deb12u3DEBIAN-CVE-2025-9640
Debian13samba2:4.22.6+dfsg-0+deb13u1DEBIAN-CVE-2025-9640
Debian14samba2:4.23.2+dfsg-1DEBIAN-CVE-2025-9640
Ubuntu22.04:LTSsamba2:4.15.13+dfsg-0ubuntu1.10UBUNTU-CVE-2025-9640 USN-7826-1
Ubuntu24.04:LTSsamba2:4.19.5+dfsg-4ubuntu9.4UBUNTU-CVE-2025-9640 USN-7826-1
Ubuntu25.10samba2:4.22.3+dfsg-4ubuntu2.1UBUNTU-CVE-2025-9640 USN-7826-1
UbuntuPro:14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20+esm15UBUNTU-CVE-2025-9640 USN-7826-2
UbuntuPro:16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4UBUNTU-CVE-2025-9640 USN-7826-2
UbuntuPro:18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3UBUNTU-CVE-2025-9640 USN-7826-2
UbuntuPro:20.04:LTSsamba2:4.15.13+dfsg-0ubuntu0.20.04.8+esm1UBUNTU-CVE-2025-9640 USN-7826-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 moresamba4.15.13+git.736.b791be993ba-150300.3.96.1SUSE-SU-2025:3677-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5samba4.15.13+git.664.e8416d8d213-3.99.1SUSE-SU-2025:03604-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS and 6 moresamba4.15.13+git.736.b791be993ba-150400.3.40.1SUSE-SU-2025:03618-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS and 3 moresamba4.17.12+git.510.0efaadf376b-150500.3.34.1SUSE-SU-2025:03603-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Module for Basesystem 15 SP6samba4.19.8+git.435.78ced6cf30d-150600.3.21.1SUSE-SU-2025:03612-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Module for Basesystem 15 SP7samba4.21.8+git.418.e80c9b2a88c-150700.3.11.2SUSE-SU-2025:3676-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0samba4.22.5+git.431.dc5a539f124-160000.1.1SUSE-SU-2025:21005-1
SUSELinux Micro 6.2samba4.22.5+git.431.dc5a539f124-160000.1.1SUSE-SU-2025:21026-1
openSUSELeap 15.6samba4.19.8+git.435.78ced6cf30d-150600.3.21.1SUSE-SU-2025:03612-1
openSUSELeap 16.0samba4.22.5+git.431.dc5a539f124-160000.1.1openSUSE-SU-2025:20048-1
openSUSETumbleweedsamba4.22.5+git.431.dc5a539f124-1.1openSUSE-SU-2025:15649-1
Alpinev3.22, v3.23, v3.24samba4.21.9-r0ALPINE-CVE-2025-9640
Azure Linux2sambano fix listedAZL-68817
Azure Linux3sambano fix listedAZL-68936

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated Low because its exploitation scope and potential impact are tightly constrained. Technically, the flaw only allows disclosure of uninitialized heap memory fragments, not direct control or corruption of memory. The attacker must already be an authenticated user with write access to files using the vfs_streams_xattr module, significantly reducing the attack surface. The exposed data is non-deterministic and contextually limited—it consists of residual memory content that may or may not contain meaningful information, with no guarantee of retrieving sensitive secrets. Additionally, Samba already clears known secret buffers before freeing memory, further lowering the risk of credential or key exposure.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sambaFix deferred
Red Hat Enterprise Linux 6sambaFix deferred
Red Hat Enterprise Linux 6samba4Fix deferred
Red Hat Enterprise Linux 7sambaFix deferred
Red Hat Enterprise Linux 8sambaFix deferred
Red Hat Enterprise Linux 9sambaFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-9640.

References

Check your stackJSON