All reports
Medium

libldb: remote memory read in the Samba LDAP server

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-5330

Probability of exploitation in the next 30 days: 6.16%

FIRST EPSS · 2026-11-21

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.

A memory-read flaw was found in the way the libldb library processed LDB DN records with a null byte. An authenticated, remote attacker could use this flaw to read heap-memory pages from the server.