CVE-2015-5330: Infoleak

Published Nov 12, 2015
·
Updated

It was reported that when adding an LDB DN to the database, that if a \00 (null byte) is used, remote memory can be read due to a combination of tallocstrdup() and a length assignment.

Upstream bug:

https://bugzilla.samba.org/showbug.cgi?id=11599

Other sources

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.

MITRE

Affected Software

61 affected componentsFixes available
redhat/libldb<1.1.24
1.1.24
redhat/samba<4.1.22
4.1.22
redhat/samba<4.2.7
4.2.7
redhat/samba<4.3.3
4.3.3
Samba Samba=4.0.0
Samba Samba=4.0.1
Samba Samba=4.0.2
Samba Samba=4.0.3
Samba Samba=4.0.4
Samba Samba=4.0.5
Samba Samba=4.0.6
Samba Samba=4.0.7
Samba Samba=4.0.8
Samba Samba=4.0.9
Samba Samba=4.0.10
Samba Samba=4.0.11
Samba Samba=4.0.12
Samba Samba=4.0.13
Samba Samba=4.0.14
Samba Samba=4.0.15
Samba Samba=4.0.16
Samba Samba=4.0.17
Samba Samba=4.0.18
Samba Samba=4.0.19
Samba Samba=4.0.20
Samba Samba=4.0.21
Samba Samba=4.0.22
Samba Samba=4.0.23
Samba Samba=4.0.24
Samba Samba=4.1.0
Samba Samba=4.1.1
Samba Samba=4.1.2
Samba Samba=4.1.3
Samba Samba=4.1.4
Samba Samba=4.1.5
Samba Samba=4.1.6
Samba Samba=4.1.7
Samba Samba=4.1.8
Samba Samba=4.1.9
Samba Samba=4.1.10
Samba Samba=4.1.11
Samba Samba=4.1.12
Samba Samba=4.1.13
Samba Samba=4.1.14
Samba Samba=4.1.15
Samba Samba=4.1.16
Samba Samba=4.1.17
Samba Samba=4.1.18
Samba Samba=4.1.19
Samba Samba=4.1.20
Samba Samba=4.1.21
Samba Samba=4.2.0
Samba Samba=4.2.1
Samba Samba=4.2.2
Samba Samba=4.2.3
Samba Samba=4.2.4
Samba Samba=4.2.5
Samba Samba=4.2.6
Samba Samba=4.3.0
Samba Samba=4.3.1
Samba Samba=4.3.2

Event History

Dec 29, 2015
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-5330?

CVE-2015-5330 has a high severity due to its potential to allow remote memory reading, impacting application security.

2

How do I fix CVE-2015-5330?

To fix CVE-2015-5330, upgrade to libldb version 1.1.24 or samba versions 4.1.22, 4.2.7, or 4.3.3 or later.

3

What systems are affected by CVE-2015-5330?

CVE-2015-5330 affects various versions of samba and libldb, particularly those prior to the stipulated fixed versions.

4

Can CVE-2015-5330 be exploited remotely?

Yes, CVE-2015-5330 can be exploited remotely, resulting in unauthorized memory access.

5

Is it safe to use software versions that are vulnerable to CVE-2015-5330?

No, using vulnerable versions can pose significant security risks and should be avoided until patched.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203