Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Red HatRed Hat Enterprise Linux 10 | — | Not listed |
| Red HatRed Hat Enterprise Linux 6 | — | Not listed |
| Red HatRed Hat Enterprise Linux 7 | — | Not listed |
| Red HatRed Hat Enterprise Linux 8 | — | Not listed |
| Red HatRed Hat Enterprise Linux 9 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 4 | — | Not listed |
| Red HatRed Hat OpenShift Container Platform 5 | — | Not listed |
| Sambalibldb |
2.8.0 – 2.11.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125635 samba No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125635 samba No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory access.redhat.com
- advisory nvd.nist.gov
- advisory github.com
- package gitlab.com
- patch gitlab.com
- report bugzilla.redhat.com
- report bugzilla.samba.org
- web github.com
- web access.redhat.com