Skip to content
Medium 4.3

Libldb: samba: libldb: bitwise ldap match discloses unreadable integer attributes

CVE-2026-125635 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Red HatRed Hat Enterprise Linux 10 —
Red HatRed Hat Enterprise Linux 6 —
Red HatRed Hat Enterprise Linux 7 —
Red HatRed Hat Enterprise Linux 8 —
Red HatRed Hat Enterprise Linux 9 —
Red HatRed Hat OpenShift Container Platform 4 —
Red HatRed Hat OpenShift Container Platform 5 —
Sambalibldb
2.8.0 – 2.11.0→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details