CVE-2026-125635
NVDCVSS scored by secalert@redhat.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 4.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- Samba libldb 2.5.3
- Samba libldb 2.6.2
- Samba libldb 2.7.2
- Samba libldb >= 2.8.0 and <= 2.11.0
- Samba libldb 2.11.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Samba libldb and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 30, 2026Published
- Dec 1, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Samba libldb CVEsYou are reading CVE-2026-125635. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Dec 1, 2026 02:10 UTC