freenode

← CVE tracker

CVE-2026-125635

Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes

Severity
medium CVSS 4.3 (v3.1)
Affects
libldb · Samba
Weakness
CWE-862: Missing Authorization
Published
30 November 2026 by redhat
A **missing authorization** check has been found in the ldb_match_bitmask() function in ldb_match.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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.