Live threats

All CVEs / Samba

CVE-2021-20277Samba

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
May 12, 2021
Updated
Jun 17, 2026
Category
Server · Linux
Weakness (CWE)
CWE-125, CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Samba.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
sambasamba≥ 4.0.0 < 4.12.13
sambasamba≥ 4.13.0 < 4.13.6
sambasamba≥ 4.14.0 < 4.14.1
debiandebian_linux9.0
debiandebian_linux10.0
fedoraprojectfedora32
fedoraprojectfedora33
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.