The LDAP server in the AD domain controller in Samba 4.x before 4.1.22 does not check…
Priority MEDIUM 43CWE-399Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-399 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.07116 94th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.0.0 to before 4.1.22 | Vulnerable | Samba |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* | 15.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.1.22 Vulnerable ·Samba
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
Remediation
Red Hat 2 advisories
- RHSA-2016:0015 Released 2016-01-08 · Red Hat rating Moderatesamba security update
- Red Hat Gluster 3 Samba on RHEL-6 libsmbclient-4.1.17-16.el6rhs, libsmbclient-devel-4.1.17-16.el6rhs, libwbclient-4.1.17-16.el6rhs +18
- RHSA-2016:0010 Released 2016-01-07 · Red Hat rating Moderatesamba4 security update
- Red Hat Enterprise Linux Desktop (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux HPC Node (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux Server (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
- Red Hat Enterprise Linux Workstation (v. 6) samba4-4.0.0-67.el6_7.rc4, samba4-client-4.0.0-67.el6_7.rc4, samba4-common-4.0.0-67.el6_7.rc4 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | — |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | — |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | — |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | — |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2016:0010 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2016:0010 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2016:0010 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | — |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | — |
| Red Hat Enterprise Linux Server Resilient Storage (v. 7) | Fixed | — |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2016:0010 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | — |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | — |
| Red Hat Gluster 3 Samba on RHEL-6 | Fixed | RHSA-2016:0015 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2015-7540
- 2026-10-03 Alias added: GHSA-7m2w-hp2f-cmqp
References
Advisory 10
Sources
- CVE-2015-7540 · CVE Program
- CVE-2015-7540 · NVD
- FIRST EPSS
- GHSA-7m2w-hp2f-cmqp · GitHub Advisory Database · CC BY 4.0
- CVE-2015-7540 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences