---
title: "CVE-2015-5330\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2015-5330?format=md
keywords: index, follow
---

# CVE-2015-5330

Publication date 16 December 2015

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2015-5330?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2015-5330?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ldb | 17.04 zesty | Fixed 2:1.1.24-1ubuntu1 |
| 16.10 yakkety | Fixed 2:1.1.24-1ubuntu1 |
| 16.04 LTS xenial | Fixed 2:1.1.24-1ubuntu1 |
| 15.10 wily | Fixed 2:1.1.20-2ubuntu0.1 |
| 15.04 vivid | Fixed 1:1.1.18-1ubuntu0.1 |
| 14.04 LTS trusty | Fixed 1:1.1.16-1ubuntu0.1 |
| 12.04 LTS precise | Fixed 1:1.1.4-1ubuntu0.1 |
| samba | 17.04 zesty | Fixed 2:4.3.3+dfsg-1ubuntu1 |
| 16.10 yakkety | Fixed 2:4.3.3+dfsg-1ubuntu1 |
| 16.04 LTS xenial | Fixed 2:4.3.3+dfsg-1ubuntu1 |
| 15.10 wily | Fixed 2:4.1.17+dfsg-4ubuntu3.1 |
| 15.04 vivid | Fixed 2:4.1.13+dfsg-4ubuntu3.1 |
| 14.04 LTS trusty | Fixed 2:4.1.6+dfsg-1ubuntu2.14.04.11 |
| 12.04 LTS precise | Fixed 2:3.6.3-2ubuntu2.13 |
| samba4 | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2015-5330?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

4.0.0 to 4.3.2, but 3.6 may also need patch
may require ldb-1.1.24
3.6 patch in upstream bug

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| samba | * Upstream:   <https://git.samba.org/?p=samba.git;a=commit;h=1aef718f3cc175d90d40202a333042a38ba382b1> * Upstream:   <https://git.samba.org/?p=samba.git;a=commit;h=7bcac237656083e67bbac9b50be9b319bb2d7eb8> * Upstream:   <https://git.samba.org/?p=samba.git;a=commit;h=5f3c7541c2f10ac2174538288f6569af587d69f0> * Upstream:   <https://git.samba.org/?p=samba.git;a=commit;h=a561ae6294fa926bf3a15b9aaf3d18d25d5e971f> * Upstream:   <https://git.samba.org/?p=samba.git;a=commit;h=f07626d0297ed6bd21623409e1ea1ae1138d23a8> * Upstream:   <https://git.samba.org/?p=samba.git;a=commit;h=83f1d39cd9ab9b8b548602f9ee806a994fca9d0c> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5330)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2015-5330)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2015-5330)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2015-5330)

### Related Ubuntu Security Notices (USN)

+ [USN-2855-1](https://usn.ubuntu.com/USN-2855-1)
+ Samba vulnerabilities
+ 5 January 2016

+ [USN-2856-1](https://usn.ubuntu.com/USN-2856-1)
+ ldb vulnerabilities
+ 5 January 2016

### Other references

* <https://www.samba.org/samba/security/CVE-2015-5330.html>
* <https://www.cve.org/CVERecord?id=CVE-2015-5330>
