CVE-2026-125635: Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes
Vulnerability summary
CVE-2026-125635 is a medium (CVSS 4.3) Missing Authorization vulnerability in samba libldb. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 46.3% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 30-11-2026PublishedVulnerability first disclosed.
- 30-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- ldb< 2:2.4.4-0ubuntu0.20.04.2+esm1 | < 2:2.4.4-0ubuntu0.22.04.3
- sambaAll versions (No fix recorded) | < 2:4.19.5+dfsg-4ubuntu9.9 | < 2:4.23.6+dfsg-1ubuntu2.4
Debian1 product
- sambaAll versions (No fix recorded)
Samba1 product
- libldb2.5.3 | 2.6.2 | 2.7.2 | ≥ 2.8.0, ≤ 2.11.0
3 vendors · 4 products