CVE-2020-10730: A NULL pointer dereference, or possible use-after-free flaw was found in Samba AD LDAP server in versions before 4.10.17, before 4.11.11 and…
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.4% (FIRST EPSS); higher than 84.7% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: samba (Alpine:v3.10) 4.10.17-r0; samba (Alpine:v3.11) 4.11.14-r0; samba (Alpine:v3.12) 4.12.5-r0.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to samba (Alpine:v3.10) 4.10.17-r0; samba (Alpine:v3.11) 4.11.14-r0; samba (Alpine:v3.12) 4.12.5-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A NULL pointer dereference, or possible use-after-free flaw was found in Samba AD LDAP server in versions before 4.10.17, before 4.11.11 and before 4.12.4. Although some versions of Samba shipped with Red Hat Enterprise Linux do not support Samba in AD mode, the affected code is shipped with the libldb package. This flaw allows an authenticated user to possibly trigger a use-after-free or NULL pointer dereference. The highest threat from this vulnerability is to system availability.
- Published
- Jul 7, 2020
- Updated
- Jun 16, 2026
- EPSS
- 2.4% · 84th percentile
- CWE
- CWE-416
Report tools
Action score
27
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| redhat | storage | cpe:2.3:a:redhat:storage |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a Samba
- All Samba versions before 4.10.17, before 4.11.11 and before 4.12.4affected
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- fedoraproject fedora31
- opensuse leap15.1
- opensuse leap15.2
- redhat storage3.0
- samba samba4.5.0 and later · before 4.10.17
- samba samba4.12.0 and later · before 4.12.4
- samba samba4.11.0 and later · before 4.11.11
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | samba | from 4.5.0 · before 4.10.17-r0 | 4.10.17-r0 |
| Alpine:v3.11 | samba | from 4.5.0 · before 4.11.14-r0 | 4.11.14-r0 |
| Alpine:v3.12 | samba | from 4.5.0 · before 4.12.5-r0 | 4.12.5-r0 |
| Debian:10 | ldb | before 2:1.5.1+really1.4.6-3+deb10u1 | 2:1.5.1+really1.4.6-3+deb10u1 |
| Debian:12 | samba | before 2:4.12.5+dfsg-1 | 2:4.12.5+dfsg-1 |
| Debian:9 | samba | before 2:4.5.16+dfsg-1+deb9u3 | 2:4.5.16+dfsg-1+deb9u3 |
| openSUSE:Leap 15.1 | ldb | before 1.4.6-lp151.2.3.1 | 1.4.6-lp151.2.3.1 |
| openSUSE:Leap 15.1 | samba | before 4.9.5+git.343.4bc358522a9-lp151.2.27.1 | 4.9.5+git.343.4bc358522a9-lp151.2.27.1 |
| openSUSE:Leap 15.2 | ldb | before 2.0.12-lp152.2.6.1 | 2.0.12-lp152.2.6.1 |
| openSUSE:Leap 15.2 | ldb | before 2.0.12-lp152.2.3.1 | 2.0.12-lp152.2.3.1 |
| openSUSE:Leap 15.2 | samba | before 4.11.11+git.180.2cf3b203f07-lp152.3.6.1 | 4.11.11+git.180.2cf3b203f07-lp152.3.6.1 |
| openSUSE:Leap 15.2 | samba | before 4.11.11+git.180.2cf3b203f07-lp152.3.3.1 | 4.11.11+git.180.2cf3b203f07-lp152.3.3.1 |
| openSUSE:Tumbleweed | ldb | before 2.3.0-1.3 | 2.3.0-1.3 |
| Red Hat:enterprise_linux:8::baseos | ldb-tools | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:enterprise_linux:8::baseos | ldb-tools-debuginfo | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:enterprise_linux:8::baseos | libldb | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:enterprise_linux:8::baseos | libldb-debuginfo | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:enterprise_linux:8::baseos | libldb-debugsource | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:enterprise_linux:8::baseos | libldb-devel | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:enterprise_linux:8::baseos | python3-ldb | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:enterprise_linux:8::baseos | python3-ldb-debuginfo | before 0:2.1.3-2.el8 | 0:2.1.3-2.el8 |
| Red Hat:storage:3.5:samba:el7 | ctdb | before 0:4.11.6-107.el7rhgs | 0:4.11.6-107.el7rhgs |
| Red Hat:storage:3.5:samba:el7 | libsmbclient | before 0:4.11.6-107.el7rhgs | 0:4.11.6-107.el7rhgs |
| Red Hat:storage:3.5:samba:el7 | libsmbclient-devel | before 0:4.11.6-107.el7rhgs | 0:4.11.6-107.el7rhgs |
+66
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious…KEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x…66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1…66This week
Published before and after this one in the same product
- ← EarlierCVE-2020-14303Jul 6, 2020 · A flaw was found in the AD DC NBT server in all Samba versions before 4.10.17, before 4.11.11 and before 4.12.4.31Monitor
- ← EarlierCVE-2020-10760Jul 6, 2020 · A use-after-free flaw was found in all samba LDAP server versions before 4.10.17, before 4.11.11, before 4.12.4 used in a AC DC…27Monitor
- Later →CVE-2020-10745Jul 7, 2020 · A flaw was found in all Samba versions before 4.10.17, before 4.11.11 and before 4.12.4 in the way it processed NetBios over TCP/IP.31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:samba | 4.10.17-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:ldb | 2:1.5.1+really1.4.6-3+deb10u1 · Debian:10 | Package registry (OSV) |
| debian:samba | 2:4.12.5+dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:ldb | 2.0.12-lp152.2.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:samba | 4.9.5+git.343.4bc358522a9-lp151.2.27.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:ctdb | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:libsmbclient | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:libsmbclient-devel | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:libwbclient | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:libwbclient-devel | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:python3-samba | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:samba | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:samba-client | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:samba-client-libs | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:samba-common | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:samba-common-libs | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| red hat:samba-common-tools | 0:4.11.6-107.el7rhgs · Red Hat:storage:3.5:samba:el7 | Package registry (OSV) |
| suse:ldb | 2.0.12-3.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP2 | Package registry (OSV) |
| suse:samba | 4.9.5+git.343.4bc358522a9-3.38.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0298 · Apr 7, 2021(Debian Güvenlik Güncellemesi Yayınladı)
- TR-20-760 · Sep 18, 2020(Samba Güvenlik Güncellemeleri Yayınladı)
- TR-20-566 · Aug 4, 2020(Samba Güvenlik Güncellemeleri Yayınladı)
- TR-20-551 · Jul 23, 2020(Samba Güvenlik Güncellemeleri Yayınladı)
- TR-20-520 · Jul 13, 2020(Nagios Zafiyeti)
- TR-20-486 · Jul 6, 2020(Samba Güvenlik Güncellemeleri Yayınladı)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00030.html
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00054.html
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00000.html
- lists.opensuse.org/opensuse-security-announce/2020-09/msg00002.html
- lists.debian.org/debian-lts-announce/2020/11/msg00041.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6YLNQ5GRXUKYRUAOFZ4DUBVN4SMTL6Q2/
- security.gentoo.org/glsa/202007-15
- www.debian.org/security/2021/dsa-4884
- www.samba.org/samba/security/CVE-2020-10730.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.