Skip to content
Fencer Intel
high 7.5

CVE-2015-7540 json

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 alloc…

published 2015-12-29 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-7456

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.1%
EPSS 7.1% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

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.

Patch / fix

  • samba samba 4.1.22
  • samba Debian 14, Debian 13, Debian 12 2:4.1.22+dfsg-1

debian advisories DEBIAN-CVE-2015-7540

  • samba Ubuntu 14.04 LTS 2:4.1.6+dfsg-1ubuntu2.14.04.11
  • samba Ubuntu 16.04 LTS 2:4.3.3+dfsg-1ubuntu1

ubuntu advisories UBUNTU-CVE-2015-7540

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • samba storage 3.1 4.1.17-16.el6rhs
  • samba-dc storage 3.1 4.1.17-16.el6rhs
  • samba-libs storage 3.1 4.1.17-16.el6rhs
  • samba-pidl storage 3.1 4.1.17-16.el6rhs
  • samba-test storage 3.1 4.1.17-16.el6rhs
  • libwbclient storage 3.1 4.1.17-16.el6rhs
  • libsmbclient storage 3.1 4.1.17-16.el6rhs
  • samba-client storage 3.1 4.1.17-16.el6rhs

red hat advisories RHSA-2016:0015RHSA-2016:0010RHBA-2015:2258

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-7540 updated cvss 4.3

samba: DoS to AD-DC due to insufficient checking of asn1 memory allocation

  • Red Hat Enterprise Linux Client (v. 7) samba 4.2.3-10.el7, samba-libs 4.2.3-10.el7, libwbclient 4.2.3-10.el7, libsmbclient 4.2.3-10.el7, samba-client 4.2.3-10.el7, samba-common 4.2.3-10.el7, +6 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.2.3-10.el7, samba-dc 4.2.3-10.el7, samba-pidl 4.2.3-10.el7, samba-test 4.2.3-10.el7, samba-python 4.2.3-10.el7, samba-dc-libs 4.2.3-10.el7, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) samba 4.2.3-10.el7, samba-libs 4.2.3-10.el7, libwbclient 4.2.3-10.el7, libsmbclient 4.2.3-10.el7, samba-client 4.2.3-10.el7, samba-common 4.2.3-10.el7, +6 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.2.3-10.el7, samba-dc 4.2.3-10.el7, samba-pidl 4.2.3-10.el7, samba-test 4.2.3-10.el7, samba-python 4.2.3-10.el7, samba-dc-libs 4.2.3-10.el7, +3 more
    fixed: vendor fix RHBA-2015:2258
  • Red Hat Enterprise Linux Desktop (v. 6) samba4 4.0.0-67.el6_7.rc4, samba4-dc 4.0.0-67.el6_7.rc4, samba4-libs 4.0.0-67.el6_7.rc4, samba4-pidl 4.0.0-67.el6_7.rc4, samba4-swat 4.0.0-67.el6_7.rc4, samba4-test 4.0.0-67.el6_7.rc4, +7 more Red Hat Enterprise Linux HPC Node (v. 6) samba4 4.0.0-67.el6_7.rc4, samba4-dc 4.0.0-67.el6_7.rc4, samba4-libs 4.0.0-67.el6_7.rc4, samba4-pidl 4.0.0-67.el6_7.rc4, samba4-swat 4.0.0-67.el6_7.rc4, samba4-test 4.0.0-67.el6_7.rc4, +7 more Red Hat Enterprise Linux Server (v. 6) samba4 4.0.0-67.el6_7.rc4, samba4-dc 4.0.0-67.el6_7.rc4, samba4-libs 4.0.0-67.el6_7.rc4, samba4-pidl 4.0.0-67.el6_7.rc4, samba4-swat 4.0.0-67.el6_7.rc4, samba4-test 4.0.0-67.el6_7.rc4, +7 more
    fixed: vendor fix RHSA-2016:0010
  • Red Hat Enterprise Linux Server (v. 7) samba 4.2.3-10.el7, samba-libs 4.2.3-10.el7, libwbclient 4.2.3-10.el7, libsmbclient 4.2.3-10.el7, samba-client 4.2.3-10.el7, samba-common 4.2.3-10.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7) samba-dc 4.2.3-10.el7, samba-pidl 4.2.3-10.el7, samba-test 4.2.3-10.el7, samba-python 4.2.3-10.el7, samba-dc-libs 4.2.3-10.el7, samba-test-libs 4.2.3-10.el7, +2 more Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb 4.2.3-10.el7, ctdb-tests 4.2.3-10.el7
    fixed: vendor fix RHBA-2015:2258
  • Red Hat Enterprise Linux Workstation (v. 6) samba4 4.0.0-67.el6_7.rc4, samba4-dc 4.0.0-67.el6_7.rc4, samba4-libs 4.0.0-67.el6_7.rc4, samba4-pidl 4.0.0-67.el6_7.rc4, samba4-swat 4.0.0-67.el6_7.rc4, samba4-test 4.0.0-67.el6_7.rc4, +7 more
    fixed: vendor fix RHSA-2016:0010
  • Red Hat Enterprise Linux Workstation (v. 7) samba 4.2.3-10.el7, samba-libs 4.2.3-10.el7, libwbclient 4.2.3-10.el7, libsmbclient 4.2.3-10.el7, samba-client 4.2.3-10.el7, samba-common 4.2.3-10.el7, +7 more Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.2.3-10.el7, samba-pidl 4.2.3-10.el7, samba-test 4.2.3-10.el7, samba-dc-libs 4.2.3-10.el7, samba-test-libs 4.2.3-10.el7, samba-vfs-glusterfs 4.2.3-10.el7, +1 more
    fixed: vendor fix RHBA-2015:2258
  • Red Hat Gluster 3 Samba on RHEL-6 samba 4.1.17-16.el6rhs, samba-dc 4.1.17-16.el6rhs, samba-libs 4.1.17-16.el6rhs, samba-pidl 4.1.17-16.el6rhs, samba-test 4.1.17-16.el6rhs, libwbclient 4.1.17-16.el6rhs, +11 more
    fixed: vendor fix RHSA-2016:0015
  • Red Hat Enterprise Linux 5 samba, samba3x Red Hat Enterprise Linux 6 samba, samba-swat, libsmbclient, samba-client, samba-common, samba-winbind, +4 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

7.12% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.