Live threats

All CVEs / Samba

CVE-2021-3738Samba

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
Yes
Published
Mar 2, 2022
Updated
Jun 17, 2026
Category
Server · Linux
Weakness (CWE)
CWE-416
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct session_info'. The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.

Original NVD text.

What to do

  1. Apply the vendor's security update for Samba.

Affected products (CPE)

VendorProductVersions
sambasamba≥ 4.0.0 < 4.13.14
sambasamba≥ 4.14.0 < 4.14.10
sambasamba≥ 4.15.0 < 4.15.2

Official sources

References

Links published by the sources. Open them with care.