All vulnerabilities

Servers and applications

CVE-2015-7540

The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check return values to ensure successful ASN.1 memory allocation, which allows remote attackers to cause a denial of service (memory consumption and daemon crash) via crafted packets.

Severity
High 7.5
Published
29 Dec 2015
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.1.22
Exploit chance
7.1% in the next 30 daysHigher than 94% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
CWE-399
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
NVD

Affected software

SoftwareAffected versions
SambaServers and applications · cpe:a:samba:samba
  • From 4.0.0 before 4.1.22

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2015-7540
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2015-7540