Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes
- State
- Published
- Severity
- 4.3 Medium
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| libldb Samba | 2.5.3 Affected2.6.2 Affected2.7.2 Affected2.8.0 through 2.11.0 Affected |
| Red Hat Enterprise Linux 10 Red Hat | |
| Red Hat Enterprise Linux 6 Red Hat | |
| Red Hat Enterprise Linux 7 Red Hat | |
| Red Hat Enterprise Linux 8 Red Hat | |
| Red Hat Enterprise Linux 9 Red Hat | |
| Red Hat Enterprise Linux 9 Red Hat | |
| Red Hat OpenShift Container Platform 4 Red Hat | |
| Red Hat OpenShift Container Platform 4 Red Hat | |
| Red Hat OpenShift Container Platform 5 Red Hat | |
| Red Hat OpenShift Container Platform 5 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | redhat |
Weaknesses
- CWE-862 Missing Authorization
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.