Improper privilege management in Samba - CVE-2025-0620

 

Improper privilege management in Samba - CVE-2025-0620

Published: June 3, 2025 / Updated: June 5, 2025


Vulnerability identifier: #VU110082
CSH Severity: Low
CVSS v4: 2.3 [CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-0620
CWE-ID: CWE-269
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to gain access to restricted resources.

The vulnerability exists due to an error when handling group membership changes. When an administrator removes a user from a particular group in Active Directory, this change will not become effective unless the user disconnects from the server and establishes a new connection.


Affected software

Samba
Arch Linux
Ubuntu
Fedora
samba (Ubuntu package)
samba

How to mitigate CVE-2025-0620

Install updates from vendor's website.

Samba - addressed in versions 4.21.6, 4.22.2
samba (Ubuntu package) - update to 2:4.21.4+dfsg-1ubuntu3.1
samba - update to 4.22.2-1
samba - addressed in versions 4.22.2-1.fc42, 4.22.2-1.fc43

External References

Related Security Bulletins