4.3medium
Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes
- Severity
- 4.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libldb | 2.5.3, 2.6.2, 2.7.2, from 2.8.0 up to 2.11.0 | CVE List |
| samba | Not specified | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| openshift/ose-rhel-coreos-10 | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-125635 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-125635 changed 2026-12-01 | Public domain |