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.
Severity (CVSS)
| Base score | 4.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-862 — Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Samba | libldb | 2.5.3 [affected]; 2.6.2 [affected]; 2.7.2 [affected]; 2.8.0 to <=2.11.0 [affected] |
| Red Hat | 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 | — |
References
- https://access.redhat.com/security/cve/CVE-2026-125635 (vdb-entry x_refsource_REDHAT)
- https://bugzilla.redhat.com/show_bug.cgi?id=2585960 (issue-tracking x_refsource_REDHAT)
- https://bugzilla.samba.org/show_bug.cgi?id=16214
- https://gitlab.com/samba-team/samba/-/merge_requests/4811
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 01 Dec 2026 08:04 UTC.