Skip to content
Fencer Intel
high 7.5

CVE-2015-5330 json

ldb before 1.1.24, as used in the AD LDAP server in Samba 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, mishandles string…

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

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

Summary

ldb before 1.1.24, as used in the AD LDAP server in Samba 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, mishandles string lengths, which allows remote attackers to obtain sensitive information from daemon heap memory by sending crafted packets and then reading (1) an error message or (2) a database value.

Patch / fix

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

debian advisories DEBIAN-CVE-2015-5330

  • ldb Ubuntu 14.04 LTS 1:1.1.16-1ubuntu0.1
  • ldb Ubuntu 16.04 LTS 2:1.1.24-1ubuntu1
  • 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-5330

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 RHEL 7 4.2.3-11.el7_2
  • ctdb RHEL 7 4.2.3-11.el7_2
  • samba-dc RHEL 7 4.2.3-11.el7_2
  • ctdb-tests RHEL 7 4.2.3-11.el7_2
  • samba-libs RHEL 7 4.2.3-11.el7_2
  • samba-pidl RHEL 7 4.2.3-11.el7_2
  • samba-test RHEL 7 4.2.3-11.el7_2
  • libwbclient RHEL 7 4.2.3-11.el7_2

red hat advisories RHSA-2016:0006RHSA-2016:0016RHSA-2016:0014RHSA-2016:0015RHSA-2016:0009RHSA-2016:0010

  • samba SLES for SAP 11 SP4, SLES for SAP 11 SP3, SLES 11 SP4 +6 more 3.6.3-64.1
  • tevent SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 0.9.26-4.1
  • ldb SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 1.1.24-4.1
  • tdb SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 1.3.8-4.1
  • samba SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 4.2.4-6.1
  • talloc SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 2.1.5-4.1
  • tevent SLES for SAP 12, SLES 12, SLED 12 +1 more 0.9.26-3.3.1
  • ldb SLES for SAP 12, SLES 12, SLED 12 +1 more 1.1.24-4.3.1

suse advisories SUSE-SU-2016:0164-1SUSE-SU-2016:0032-1SUSE-SU-2015:2305-1SUSE-SU-2015:2304-1

  • samba openSUSE Tumbleweed 4.5.0-1.1
  • ldb openSUSE Tumbleweed 1.1.27-1.1

opensuse advisories openSUSE-SU-2024:10069-1openSUSE-SU-2024:10074-1

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-5330 updated cvss 3.5

libldb: remote memory read in the Samba LDAP server

  • Red Hat Enterprise Linux 5 libldb
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) samba 4.2.3-11.el7_2, libldb 1.1.20-1.el7_2.2, samba-libs 4.2.3-11.el7_2, libwbclient 4.2.3-11.el7_2, libsmbclient 4.2.3-11.el7_2, samba-client 4.2.3-11.el7_2, +7 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.2.3-11.el7_2, pyldb 1.1.20-1.el7_2.2, samba-dc 4.2.3-11.el7_2, samba-pidl 4.2.3-11.el7_2, samba-test 4.2.3-11.el7_2, ldb-tools 1.1.20-1.el7_2.2, +5 more Red Hat Enterprise Linux ComputeNode (v. 7) samba 4.2.3-11.el7_2, libldb 1.1.20-1.el7_2.2, samba-libs 4.2.3-11.el7_2, libwbclient 4.2.3-11.el7_2, libsmbclient 4.2.3-11.el7_2, samba-client 4.2.3-11.el7_2, +7 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.2.3-11.el7_2, pyldb 1.1.20-1.el7_2.2, samba-dc 4.2.3-11.el7_2, samba-pidl 4.2.3-11.el7_2, samba-test 4.2.3-11.el7_2, ldb-tools 1.1.20-1.el7_2.2, +5 more Red Hat Enterprise Linux Desktop (v. 6) pyldb 1.1.13-3.el6_7.1, libldb 1.1.13-3.el6_7.1, 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, +9 more Red Hat Enterprise Linux Desktop Optional (v. 6) ldb-tools 1.1.13-3.el6_7.1
    +6 more products
    Red Hat Enterprise Linux HPC Node (v. 6) pyldb 1.1.13-3.el6_7.1, libldb 1.1.13-3.el6_7.1, 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, +9 more Red Hat Enterprise Linux HPC Node Optional (v. 6) ldb-tools 1.1.13-3.el6_7.1 Red Hat Enterprise Linux Server (v. 6) pyldb 1.1.13-3.el6_7.1, libldb 1.1.13-3.el6_7.1, 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, +9 more Red Hat Enterprise Linux Server (v. 7) samba 4.2.3-11.el7_2, pyldb 1.1.20-1.el7_2.2, libldb 1.1.20-1.el7_2.2, samba-libs 4.2.3-11.el7_2, libwbclient 4.2.3-11.el7_2, libsmbclient 4.2.3-11.el7_2, +9 more Red Hat Enterprise Linux Server Optional (v. 6) ldb-tools 1.1.13-3.el6_7.1 Red Hat Enterprise Linux Server Optional (v. 7) pyldb 1.1.20-1.el7_2.2, samba-dc 4.2.3-11.el7_2, samba-pidl 4.2.3-11.el7_2, samba-test 4.2.3-11.el7_2, ldb-tools 1.1.20-1.el7_2.2, samba-python 4.2.3-11.el7_2, +4 more
    fixed: vendor fix RHSA-2016:0009
  • Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb 4.2.3-11.el7_2, ctdb-tests 4.2.3-11.el7_2
    fixed: vendor fix RHSA-2016:0006
  • Red Hat Enterprise Linux Workstation (v. 6) pyldb 1.1.13-3.el6_7.1, libldb 1.1.13-3.el6_7.1, 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, +9 more Red Hat Enterprise Linux Workstation (v. 7) samba 4.2.3-11.el7_2, pyldb 1.1.20-1.el7_2.2, libldb 1.1.20-1.el7_2.2, samba-libs 4.2.3-11.el7_2, libwbclient 4.2.3-11.el7_2, libsmbclient 4.2.3-11.el7_2, +9 more Red Hat Enterprise Linux Workstation Optional (v. 6) ldb-tools 1.1.13-3.el6_7.1 Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.2.3-11.el7_2, samba-pidl 4.2.3-11.el7_2, samba-test 4.2.3-11.el7_2, ldb-tools 1.1.20-1.el7_2.2, samba-dc-libs 4.2.3-11.el7_2, samba-test-libs 4.2.3-11.el7_2, +2 more
    fixed: vendor fix RHSA-2016:0009
  • 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 Gluster 3 Samba on RHEL-7 ctdb 4.2.4-9.1.el7rhgs, pyldb 1.1.20-3.el7rhgs, libldb 1.1.20-3.el7rhgs, samba 4.2.4-9.1.el7rhgs, ldb-tools 1.1.20-3.el7rhgs, samba-dc 4.2.4-9.1.el7rhgs, +19 more Red Hat Gluster Storage Server 3.1 on RHEL-6 pyldb 1.1.20-3.el6rhs, libldb 1.1.20-3.el6rhs, ldb-tools 1.1.20-3.el6rhs
    fixed: vendor fix RHSA-2016:0014
  • 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

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

CVSS scores

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

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

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.