---
title: "CVE-2015-3223\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-3223?format=md
keywords: index, follow
---

# CVE-2015-3223

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

**5.3 · Medium**

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

Toggle side navigation

## Description

The ldb\_wildcard\_compare function in ldb\_match.c in 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 certain zero values, which allows remote
attackers to cause a denial of service (infinite loop) via crafted packets.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2015-3223?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 | Not affected |
| 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-3223?format=md#patch-details)

## Notes

---

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

says 4.0.0 to 4.3.2, need to check precise
may require ldb update

### 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=fb456954f332c07a645226d59b3b00ec252f8b26> * Upstream:   <https://git.samba.org/?p=samba.git;a=commit;h=bb1b783ee9d7259cfc6a1fe882f22189747f8684> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.3 · Medium

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### 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-3223.html>
* <https://www.cve.org/CVERecord?id=CVE-2015-3223>
