Original description
A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.
Affected software
- Samba ≥ 4.14.0 < 4.14.1≥ 4.0.0 < 4.12.13≥ 4.13.0 < 4.13.6 Fixed in: 4.14.1, 4.12.13, 4.13.6 exact match
Details
- Published
- 2021-05-12
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-125
- EPSS (30-day exploit probability)
- 3.86% (percentile 90)
References
- cve.org/CVE-2020-27840
- nvd.nist.gov/vuln/detail/CVE-2020-27840
- bugzilla.redhat.com/show_bug.cgi?id=1941400
- lists.debian.org/debian-lts-announce/2021/03/msg00036.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z...
- security.gentoo.org/glsa/202105-22
- security.netapp.com/advisory/ntap-20210326-0007/
- www.debian.org/security/2021/dsa-4884
- www.samba.org/samba/security/CVE-2020-27840.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.