CVE-2020-27840
Kerberos vulnerability analysis and mitigation

Overview

CVE-2020-27840 is a vulnerability discovered in Samba, affecting all versions since Samba 4.0.0. The vulnerability involves spaces used in a string around a domain name (DN), which, while supposed to be ignored, can cause invalid DN strings with spaces to write a zero-byte into out-of-bounds memory, resulting in a crash (Samba Security, NVD).

Technical details

The vulnerability is characterized by a heap corruption flaw that occurs when processing domain name strings. When spaces are present in DN strings, instead of being properly ignored, they can trigger an out-of-bounds memory write of a zero byte. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it can be exploited remotely without requiring privileges or user interaction (NetApp Security).

Impact

The primary impact of this vulnerability is on system availability. When successfully exploited, it can cause the Samba AD DC LDAP server to crash. While non-fatal data corruption is possible, the most likely outcome is a denial of service condition. The vulnerability is particularly concerning as it can be triggered through LDAP bind requests before password verification, allowing anonymous attackers to exploit it (Samba Security).

Mitigation and workarounds

The vulnerability has been patched in Samba versions 4.14.2, 4.13.7, and 4.12.14. No workarounds are available, and administrators are advised to upgrade to these patched versions as soon as possible (Gentoo Security, Samba Security).

Additional resources


SourceThis report was generated using AI

Related Kerberos vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-37371CRITICAL9.1
  • MySQLMySQL
  • rhel9::toolbox@sha256:c7ea1da5e59a03a7ce0905600fecaadc121c0430cd62cf47cb34a53d7db84420_s390x
NoYesJun 28, 2024
CVE-2024-37370HIGH7.5
  • KerberosKerberos
  • krb5-plugin-kdb-ldap
NoYesJun 28, 2024
CVE-2025-3576MEDIUM5.9
  • KerberosKerberos
  • krb5-libs-debuginfo
NoYesApr 15, 2025
CVE-2024-26462MEDIUM5.5
  • KerberosKerberos
  • krb5
NoYesFeb 29, 2024
CVE-2025-24528N/AN/A
  • KerberosKerberos
  • krb5-server
NoYesJan 31, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management