Home / Samba / Samba / CVE-2015-7540
CVE-2015-7540: is it exploited, and which versions of Samba are affected and fixed?
CVE-2015-7540 is a vulnerability in Samba. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: samba from 4.0.0 before 4.1.22, ubuntu linux 12.04, ubuntu linux 14.04 and 4 more (NVD). Fixed in 4.1.22 (NVD). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is 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.
From the CVE record by redhat, last updated August 6, 2024, 07:51 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| samba | samba | from 4.0.0 before 4.1.22 | application |
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 15.04 | operating system |
| canonical | ubuntu linux | 15.10 | operating system |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:32 UTC.
How severe is CVE-2015-7540?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-7540 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 7.12% probability of exploitation activity in the next 30 days, percentile 94.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=9d989c9dd7a5b92d0c5d65287935471b83b6e884 x_refsource_CONFIRM
- FEDORA-2015-0e0879cc8a vendor-advisory, x_refsource_FEDORA
- USN-2855-2 vendor-advisory, x_refsource_UBUNTU
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=530d50a1abdcdf4d1775652d4c456c1274d83d8d x_refsource_CONFIRM
- 1034492 vdb-entry, x_refsource_SECTRACK
- 79736 vdb-entry, x_refsource_BID
- https://www.samba.org/samba/security/CVE-2015-7540.html x_refsource_CONFIRM
- FEDORA-2015-b36076d32e vendor-advisory, x_refsource_FEDORA
- DSA-3433 vendor-advisory, x_refsource_DEBIAN
- GLSA-201612-47 vendor-advisory, x_refsource_GENTOO
- USN-2855-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2015:2356 vendor-advisory, x_refsource_SUSE
- https://bugzilla.redhat.com/show_bug.cgi?id=1288451 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- September 29, 2015
- Published
- December 29, 2015, 22:00 UTC
- CVE record updated
- August 6, 2024, 07:51 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:32 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Samba?
- May 30, 2017CVE-2017-7494 samba: code injection (remote code execution) exploited
- Dec 1, 2026CVE-2026-135111 Samba: resource not released after use
- Nov 30, 2026CVE-2026-125628 Samba: type confusion
- Nov 27, 2026CVE-2026-125633 Samba: type confusion
- Nov 27, 2026CVE-2026-125627 Samba: NULL pointer dereference (crash)
- Nov 26, 2026CVE-2026-135107 Samba: memory Allocation with Excessive Size Value
- Nov 25, 2026CVE-2026-125634 Samba: NULL pointer dereference (crash)
- Oct 28, 2026CVE-2026-109411 Samba: improper Handling of Case Sensitivity
Questions about CVE-2015-7540
Is CVE-2015-7540 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 7.12% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Samba are affected by CVE-2015-7540?
samba from 4.0.0 before 4.1.22, ubuntu linux 12.04, ubuntu linux 14.04, ubuntu linux 15.04, ubuntu linux 15.10, debian linux 7.0 and 1 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2015-7540?
4.1.22, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-7540?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-7540?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.