AZL-116722: CVE-2026-125635 affecting package libldb 2.7.2-1
A missing authorization check has been found in the ldbmatchbitmask() function in ldbmatch.c of the LDAP matching module in the libldb library of Samba. The directory marks an attribute the caller is not allowed to read, and the bitwise comparison uses that value anyway. A low-privileged network attacker or user who can list a directory object searches for one bit of an integer attribute on that object. The directory includes the object when that bit is set, and it removes the attribute from the answer. Repeating the search for each bit discloses the integer. A value that is not an integer, including a password or a key stored as bytes, is not returned as a number.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue in practice?
A low-privileged network attacker or user who can perform directory-object searches is exposed to this issue. The attacker must be able to query the target object using bitwise matching.
What information can be disclosed?
An attacker can infer the value of a protected integer attribute one bit at a time by repeating bitwise comparison searches and observing whether the object is included in results. The protected attribute itself is removed from the returned answer.
Are passwords or keys exposed as numeric values?
No. Values that are not integers, including passwords or keys stored as bytes, are not returned as numbers through this behavior.