# CVE-2026-125635: Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-30 · Modified: 2026-11-30
- Aliases: DEBIAN-CVE-2026-125635, UBUNTU-CVE-2026-125635, USN-9449-1
- Record: https://cvemate.com/vulnerability/CVE-2026-125635 · JSON: https://cvemate.com/vulnerability/CVE-2026-125635/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.531%, percentile 46.355%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian samba (Debian): All versions (No fix recorded)
- ubuntu ldb (Ubuntu): \< 2:2.4.4-0ubuntu0.20.04.2+esm1 \| \< 2:2.4.4-0ubuntu0.22.04.3
- ubuntu samba (Ubuntu): All versions (No fix recorded) \| \< 2:4.19.5+dfsg-4ubuntu9.9 \| \< 2:4.23.6+dfsg-1ubuntu2.4
- samba libldb: 2.5.3 \| 2.6.2 \| 2.7.2 \| ≥ 2.8.0, ≤ 2.11.0

## References

- <https://access.redhat.com/security/cve/CVE-2026-125635>
- <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>
- <https://security-tracker.debian.org/tracker/CVE-2026-125635>
- <https://ubuntu.com/security/CVE-2026-125635>
- <https://www.cve.org/CVERecord?id=CVE-2026-125635>
- <https://ubuntu.com/security/notices/USN-9449-1>
- <https://ubuntu.com/security/notices/USN-9472-1>

---

Data as of 2026-12-05T03:23:57.602Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
