CVE-2015-7540
Description
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
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source nvd
Exploit chance (EPSS)
7.116%
chance of exploitation in the next 30 days
higher than 94.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
Timeline
- 2015-12-29Published by the CNA22:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| samba samba | from 4.0.0 before 4.1.22fixed in 4.1.22 | 4.1.22 |
| canonical ubuntu_linux | 12.04no fix listed14.04no fix listed15.04no fix listed15.10no fix listed | not listednot listednot listednot listed |
| debian debian_linux | 7.0no fix listed8.0no fix listed | not listednot listed |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174076.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174391.html
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00033.html
- http://www.debian.org/security/2016/dsa-3433
- http://www.ubuntu.com/usn/USN-2855-1
- http://www.ubuntu.com/usn/USN-2855-2
- https://security.gentoo.org/glsa/201612-47
- https://www.samba.org/samba/security/CVE-2015-7540.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/79736
- http://www.securitytracker.com/id/1034492
- https://bugzilla.redhat.com/show_bug.cgi?id=1288451
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=530d50a1abdcdf4d1775652d4c456c1274d83d8d
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=9d989c9dd7a5b92d0c5d65287935471b83b6e884
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2015-7540'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2015-7540'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2015-7540'curl 'https://api.contrastcyber.com/cve_products/CVE-2015-7540'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).