CVE-2021-20277: debian debian_linux Out-of-bounds Read
Vulnerability summary
CVE-2021-20277 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in debian debian_linux. EPSS estimates a 4.33% chance of exploitation in the next 30 days, higher than 91.1% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 18 · Related 15Timeline
- 12-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
4.33%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.33% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat10 products
- ldb-tools< 0:1.5.4-2.el7_9 | < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6
- ldb-tools-debuginfo< 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1
- libldb< 0:1.5.4-2.el7_9 | < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6
- libldb-debuginfo< 0:1.5.4-2.el7_9 | < 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1 | < 0:1.4.2-2.el7_7 | < 0:1.3.4-2.el7_6
- libldb-debugsource< 0:2.1.3-3.el8_3 | < 0:2.0.7-4.el8_2 | < 0:1.5.4-3.el8_1
Debian2 products
- samba< 2:4.13.13+dfsg-1
- debian_linuxEOL9.0 | 10.0
Alpine1 product
- samba≥ 4.0.0, < 4.12.14-r0 | ≥ 4.0.0, < 4.13.7-r0 | ≥ 4.0.0, < 4.14.2-r0
Fedoraproject1 product
- fedoraEOL32 | 33 | 34
Samba1 product
- samba≥ 4.0.0, < 4.12.13 | ≥ 4.13.0, < 4.13.6 | ≥ 4.14.0, < 4.14.1
Ubuntu1 product
- ldb< 1:1.1.24-0ubuntu0.14.04.2+esm1 | < 2:1.1.24-1ubuntu3.2 | < 2:1.2.3-1ubuntu0.2 | < 2:2.0.10-0ubuntu0.20.04.3
6 vendors · 16 products
References
30 links- lists.debian.org/debian-lts-announce/2021/03/msg00036.htmlMailing ListX Refsource MLISTThird Party Advisory