Vulnerability database / CVE-2021-20277
CVE-2021-20277
HIGH 7.5 CVSS 3.1 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.
Published 12 May 2021
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-125 CWE-787 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
samba
sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.12.13
4.12.13 NVD
samba
sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.13.0, < 4.13.6
4.13.6 NVD
samba
sambacpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
>= 4.14.0, < 4.14.1
4.14.1 NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
References
History
25 Nov 2026 20:33 UTC · NVD: first stored (published 12 May 2021)