CVE-2026-125635
published medium CVSS 3.1 · 4.3Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Samba | — | libldb2.5.3 · 2.6.2 · 2.7.2 · 2.8.0 through 2.11.0 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 9, 10 | samba | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | libldb | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 8, 9 | libldb | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Samba | libldb | 2.5.3 (affected)2.6.2 (affected)2.7.2 (affected)2.8.0 through 2.11.0 (affected · semver)Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-862 Missing Authorization
References
4- https://access.redhat.com/security/cve/CVE-2026-125635
- RHBZ#2585960 https://bugzilla.redhat.com/show_bug.cgi?id=2585960
- https://bugzilla.samba.org/show_bug.cgi?id=16214
- https://gitlab.com/samba-team/samba/-/merge_requests/4811
Provider assertions
2redhat · cna
Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d2fe7ff7a428c694f007189a32f22db2398a5bfaf58ad93c7af20f13e4707f2c
- Ingested
- 30 Nov 2026, 23:19:38 UTC
- Source record
- Official CVE record