Read the docs

Samba libldb bitwise LDAP match leaks unreadable integer attributes

Priority LOW 17CWE-862Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
Low · None · None
Fix status
Deferred Red Hat: fix deferred

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-862.

Summary

Samba libldb versions 2.5.3, 2.6.2, 2.7.2, and from 2.8.0 through 2.11.0 are affected. A missing authorization check (CWE-862) in the ldb_match_bitmask() function lets the bitwise LDAP comparison use attributes the caller may not read. A low-privileged network user who can list a directory object can search one bit at a time and rebuild the integer value of an unreadable attribute.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Deferred Red Hat: fix deferred

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Sambalibldb2.5.3; 2.6.2; 2.7.2; 2.8.0 – 2.11.0—No fix listedCNA
Red HatRed Hat Enterprise Linux 10——No fix listedCNA
Red HatRed Hat Enterprise Linux 6——Not affectedCNA
Red HatRed Hat Enterprise Linux 7——Not affectedCNA
Red HatRed Hat Enterprise Linux 8——No fix listedCNA
Red HatRed Hat Enterprise Linux 9——No fix listedCNA
Red HatRed Hat Enterprise Linux 9——No fix listedCNA
Red HatRed Hat OpenShift Container Platform 4——Not affectedCNA
Red HatRed Hat OpenShift Container Platform 4——No fix listedCNA
Red HatRed Hat OpenShift Container Platform 5——No fix listedCNA
Red HatRed Hat OpenShift Container Platform 5——No fix listedCNA
  • libldb VendorSamba Affected 2.5.3; 2.6.2; 2.7.2; 2.8.0 – 2.11.0 Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat OpenShift Container Platform 4 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat OpenShift Container Platform 4 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat OpenShift Container Platform 5 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat OpenShift Container Platform 5 VendorRed Hat Affected — Fixed in — No fix listed CNA

CPE names CNA · 7

CPEVersionsRoleVendor
cpe:/o:redhat:enterprise_linux:1010—Red Hat
cpe:/o:redhat:rhel_els:66—Red Hat
cpe:/o:redhat:rhel_els:77—Red Hat
cpe:/o:redhat:enterprise_linux:88—Red Hat
cpe:/o:redhat:enterprise_linux:99—Red Hat
cpe:/a:redhat:openshift:44—Red Hat
cpe:/a:redhat:openshift:55—Red Hat
  • cpe:/o:redhat:enterprise_linux:10 Versions 10 — ·Red Hat
  • cpe:/o:redhat:rhel_els:6 Versions 6 — ·Red Hat
  • cpe:/o:redhat:rhel_els:7 Versions 7 — ·Red Hat
  • cpe:/o:redhat:enterprise_linux:8 Versions 8 — ·Red Hat
  • cpe:/o:redhat:enterprise_linux:9 Versions 9 — ·Red Hat
  • cpe:/a:redhat:openshift:4 Versions 4 — ·Red Hat
  • cpe:/a:redhat:openshift:5 Versions 5 — ·Red Hat

Remediation

The sources list no fixed version for Samba libldb. Red Hat lists Red Hat Enterprise Linux 8, 9 and 10 and Red Hat OpenShift Container Platform 4 and 5 as affected without a fix, with no available plan.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-125635
  2. 2026-11-30 Alias added: GHSA-f99h-5jp9-fm5r
  3. 2026-11-30 CISA SSVC decision points changed
  4. 2026-11-30 Affected versions changed · Red Hat
  5. 2026-11-30 CVSS score added · Red Hat
  6. 2026-11-30 Affected versions changed · CNA

References

  • TI-2020-01431 Netlogon elevation of privilege in Microsoft Windows Server KEVCVSS 3.1CRITICAL 10.0
  • TI-2017-05139 Remote code execution in Samba through uploaded shared libraries KEVCVSS 3.1CRITICAL 9.8
  • TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
  • TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
  • TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
  • TI-2024-11208 Rsync: heap buffer overflow in rsync due to improper checksum length handling CVSS 3.1CRITICAL 9.8
See all 289 →

Sources