cve.bz

CVE-2020-10730 Use After Free

6.5 mediumEPSS 2.5%

Medium (6.5). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
2.5% (unchanged from 2.5% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-416 Use After Free
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-10730 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10730?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10730?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10730 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambafrom 4.5.0 before 4.10.17
samba:sambafrom 4.11.0 before 4.11.11
samba:sambafrom 4.12.0 before 4.12.4
redhat:storage3.0
opensuse:leap15.1
opensuse:leap15.2
fedoraproject:fedora31
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9samba2:4.5.16+dfsg-1+deb9u3DLA-2463-1
Debian10ldb2:1.5.1+really1.4.6-3+deb10u1DSA-4884-1
Debian12, 13, 14samba2:4.12.5+dfsg-1DEBIAN-CVE-2020-10730
Ubuntu16.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.16.04.28USN-4409-1
Ubuntu18.04:LTSsamba2:4.7.6+dfsg~ubuntu-0ubuntu2.17UBUNTU-CVE-2020-10730 USN-4409-1
Ubuntu20.04:LTSsamba2:4.11.6+dfsg-0ubuntu1.3UBUNTU-CVE-2020-10730 USN-4409-1
UbuntuPro:14.04:LTSsamba2:4.3.11+dfsg-0ubuntu0.14.04.20+esm7USN-4409-1
Red Hatenterprise_linux:8::baseoslibldb, ldb-tools, python3-ldb and 5 more0:2.1.3-2.el8RHSA-2020:4568
Red Hatstorage:3.5:samba:el7ctdb, samba, samba-libs and 19 more0:4.11.6-107.el7rhgsRHSA-2020:3118
Red Hatstorage:3.5:samba:el8ctdb, samba, samba-libs and 38 more0:4.11.6-107.el8rhgsRHSA-2020:3119
SUSEEnterprise Storage 6, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise Module for Basesystem 15 SP1 and 1 moresamba4.9.5+git.343.4bc358522a9-3.38.1SUSE-SU-2020:1913-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.10.17+git.203.862547088ca-3.14.1SUSE-SU-2020:2673-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP2samba4.11.11+git.180.2cf3b203f07-4.5.1SUSE-SU-2020:1948-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1ldb1.4.6-3.5.2SUSE-SU-2020:2067-1
SUSELinux Enterprise Module for Basesystem 15 SP2ldb2.0.12-3.3.1SUSE-SU-2020:1948-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5ldb1.5.8-3.5.1SUSE-SU-2020:2673-1
openSUSELeap 15.1ldb1.4.6-lp151.2.3.1openSUSE-SU-2020:1121-1
openSUSELeap 15.1samba4.9.5+git.343.4bc358522a9-lp151.2.27.1openSUSE-SU-2020:0984-1
openSUSELeap 15.2ldb2.0.12-lp152.2.3.1openSUSE-SU-2020:1023-1
openSUSELeap 15.2ldb2.0.12-lp152.2.6.1openSUSE-SU-2020:1313-1
openSUSELeap 15.2samba4.11.11+git.180.2cf3b203f07-lp152.3.3.1openSUSE-SU-2020:1023-1
openSUSELeap 15.2samba4.11.11+git.180.2cf3b203f07-lp152.3.6.1openSUSE-SU-2020:1313-1
openSUSETumbleweedldb2.3.0-1.3openSUSE-SU-2024:10911-1
openSUSETumbleweedsamba4.14.6+git.182.2205d5224e3-1.1openSUSE-SU-2024:11365-1
Alpinev3.10samba4.10.17-r0ALPINE-CVE-2020-10730
Alpinev3.11samba4.11.14-r0ALPINE-CVE-2020-10730
Alpinev3.12, v3.13, v3.14 and 10 moresamba4.12.5-r0ALPINE-CVE-2020-10730

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The version of samba shipped with Red Hat Gluster Storage 3 is built with a private copy of ldb which includes the vulnerable code. However, samba shipped with RHGS 3 is not supported for use as an AD DC and hence this issue has been rated as having a security impact of Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libldb-0:2.1.3-2.el8Fixed 2020-11-04RHSA-2020:4568
Red Hat Gluster Storage 3.5 for RHEL 7samba-0:4.11.6-107.el7rhgsFixed 2020-07-23RHSA-2020:3118
Red Hat Gluster Storage 3.5 for RHEL 8samba-0:4.11.6-107.el8rhgsFixed 2020-07-23RHSA-2020:3119
Red Hat Enterprise Linux 5libldbOut of support scope
Red Hat Enterprise Linux 6libldbOut of support scope
Red Hat Enterprise Linux 7libldbWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-10730.

References

Check your stackJSON