Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Red Hat Red Hat Enterprise Linux 10
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Samba 的 libldb 库 LDAP 匹配模块的 ldb_match.c 中,ldb_match_bitmask() 函数缺少授权检查。目录会将调用者不被允许读取的属性标记出来,但位比较仍会使用该值。具备低权限的网络攻击者或用户可列出目录对象,并针对该对象某个整数属性的某一位进行搜索。当该位被设置时,目录会将该对象包含进结果,并从回答中移除该属性。对每个位重复搜索即可披露该整数。若值不是整数,包括以字节形式存储的密码或密钥,则不会被作为数字返回。

CVSS 4.3 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-125635

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat Enterprise Linux 10 - cpe:/o:redhat:enterprise_linux:10
Red Hat Red Hat Enterprise Linux 6 - cpe:/o:redhat:rhel_els:6
Red Hat Red Hat Enterprise Linux 7 - cpe:/o:redhat:rhel_els:7
Red Hat Red Hat Enterprise Linux 8 - cpe:/o:redhat:enterprise_linux:8
Red Hat Red Hat Enterprise Linux 9 - cpe:/o:redhat:enterprise_linux:9
Red Hat Red Hat Enterprise Linux 9 - cpe:/o:redhat:enterprise_linux:9
Red Hat Red Hat OpenShift Container Platform 4 - cpe:/a:redhat:openshift:4
Red Hat Red Hat OpenShift Container Platform 4 - cpe:/a:redhat:openshift:4
Red Hat Red Hat OpenShift Container Platform 5 - cpe:/a:redhat:openshift:5
Red Hat Red Hat OpenShift Container Platform 5 - cpe:/a:redhat:openshift:5

II. Public POCs for CVE-2026-125635

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-125635

请登录查看更多情报信息。

Other References for CVE-2026-125635 (4)

Same Patch Batch · Red Hat · 2026-11-30 · 7 CVEs total

CVE-2026-136125 8.7 HIGH Cluster-ingress-operator: operator clusterrole grants wildcard verbs on secrets, serviceac
CVE-2026-138781 7.8 HIGH Gimp: gimp: out-of-bounds read in psd alpha channel arrays in add_merged_image
CVE-2026-137398 6.5 MEDIUM Keylime: registrar does not validate attestation key attributes
CVE-2026-137397 6.5 MEDIUM Keylime: pcr selection read from unsigned quote data allows attestation bypass
CVE-2026-137396 4.3 MEDIUM Keylime: quote omitting pcr 10 skips ima integrity verification
CVE-2026-137395 4.3 MEDIUM Keylime: verifier accepts a quote whose signature fails verification

IV. Related Vulnerabilities