Improper privilege management in Samba - CVE-2025-0620
Published: June 3, 2025 / Updated: June 5, 2025
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
Arch Linux
Ubuntu
Fedora
samba (Ubuntu package)
samba
How to mitigate CVE-2025-0620
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