Vulnerability · Published Jun 6, 2025 · Assigned by redhat

CVE-2025-0620Samba: smbd doesn't pick up group membership changes when re-authenticating an expired smb session

Medium 4.9

In plain English

A medium-severity security flaw in samba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)0.8%top 43.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in Samba. The smbd service daemon does not pick up group membership changes when re-authenticating an expired SMB session. This issue can expose file shares until clients disconnect and then connect again.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22samba4.21.6-r0ALPINE-CVE-2025-0620
Alpine:v3.23samba4.21.6-r0ALPINE-CVE-2025-0620
Alpine:v3.24samba4.21.6-r0ALPINE-CVE-2025-0620
Debian:13samba2:4.22.2+dfsg-1DEBIAN-CVE-2025-0620
Debian:14samba2:4.22.2+dfsg-1DEBIAN-CVE-2025-0620

Affected products (as reported)

Weakness: CWE-552 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

References