{"id":"DEBIAN-CVE-2026-125635","details":"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.","modified":"2026-12-01T15:00:09.150649415Z","published":"2026-11-30T15:17:15.953Z","upstream":["CVE-2026-125635"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-125635"}],"affected":[{"package":{"name":"samba","ecosystem":"Debian:12","purl":"pkg:deb/debian/samba?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:4.17.10+dfsg-0+deb12u1","2:4.17.10+dfsg-0+deb12u1~bpo11+1","2:4.17.11+dfsg-0+deb12u1","2:4.17.12+dfsg-0+deb12u1","2:4.17.12+dfsg-0+deb12u1~bpo11+1","2:4.17.12+dfsg-0+deb12u2","2:4.17.12+dfsg-0+deb12u3","2:4.17.12+dfsg-0+deb12u4","2:4.17.8+dfsg-2","2:4.17.8+dfsg-2.1","2:4.17.9+dfsg-0+deb12u1","2:4.17.9+dfsg-0+deb12u2","2:4.17.9+dfsg-0+deb12u3","2:4.17.9+dfsg-0+deb12u3~bpo11+1","2:4.18.0+dfsg-1~exp1","2:4.18.0~rc1+dfsg-1exp","2:4.18.0~rc2+dfsg-1","2:4.18.0~rc3+dfsg-1","2:4.18.0~rc4+dfsg-1","2:4.18.1+dfsg-1~exp1","2:4.18.2+dfsg-1","2:4.18.3+dfsg-1","2:4.18.3+dfsg-2","2:4.18.3+dfsg-3","2:4.18.4+dfsg-1","2:4.18.4+dfsg-2","2:4.18.4+dfsg-2~bpo12+1","2:4.18.5+dfsg-1","2:4.18.5+dfsg-2","2:4.18.5+dfsg-2~bpo12+1","2:4.18.6+dfsg-1","2:4.18.6+dfsg-1~bpo12+1","2:4.18.8+dfsg-1~bpo12+1","2:4.19.0+dfsg-1","2:4.19.0~rc1+dfsg-1","2:4.19.0~rc1+dfsg-2","2:4.19.0~rc1+dfsg-3","2:4.19.0~rc2+dfsg-1","2:4.19.0~rc4+dfsg-1","2:4.19.0~rc4+dfsg-2","2:4.19.1+dfsg-1","2:4.19.1+dfsg-2","2:4.19.1+dfsg-3","2:4.19.1+dfsg-4","2:4.19.2+dfsg-1","2:4.19.3+dfsg-1","2:4.19.3+dfsg-1~bpo12+1","2:4.19.3+dfsg-2","2:4.19.4+dfsg-1","2:4.19.4+dfsg-2","2:4.19.4+dfsg-2~bpo12+1","2:4.19.4+dfsg-3","2:4.19.4+dfsg-3~bpo12+1","2:4.19.5+dfsg-1","2:4.19.5+dfsg-2","2:4.19.5+dfsg-3","2:4.19.5+dfsg-4","2:4.19.5+dfsg-4~bpo12+1","2:4.19.5+dfsg-5","2:4.19.6+dfsg-1","2:4.19.6+dfsg-2","2:4.19.6+dfsg-3","2:4.19.6+dfsg-3~bpo12+1","2:4.20.0+dfsg-1~exp1","2:4.20.0+dfsg-1~exp2","2:4.20.0~rc1+dfsg-1","2:4.20.0~rc2+dfsg-1","2:4.20.0~rc2+dfsg-2","2:4.20.0~rc2+dfsg-3","2:4.20.1+dfsg-1","2:4.20.1+dfsg-2","2:4.20.1+dfsg-3","2:4.20.1+dfsg-4","2:4.20.1+dfsg-4~bpo12+1","2:4.20.1+dfsg-5","2:4.20.2+dfsg-1","2:4.20.2+dfsg-10","2:4.20.2+dfsg-2","2:4.20.2+dfsg-2~bpo12+1","2:4.20.2+dfsg-2~bpo12+2","2:4.20.2+dfsg-3","2:4.20.2+dfsg-4","2:4.20.2+dfsg-5","2:4.20.2+dfsg-5~bpo12+1","2:4.20.2+dfsg-6","2:4.20.2+dfsg-6~bpo12+1","2:4.20.2+dfsg-7","2:4.20.2+dfsg-8","2:4.20.2+dfsg-9","2:4.20.2+dfsg-9~exp1","2:4.20.2+dfsg-9~exp2","2:4.20.4+dfsg-1~bpo12+1","2:4.20.5+dfsg-1~bpo12+1","2:4.21.0+dfsg-1","2:4.21.0~rc1+dfsg-1","2:4.21.0~rc1+really4.20.2+dfsg-11","2:4.21.0~rc1+really4.20.2+dfsg-11r","2:4.21.0~rc1+really4.20.3+dfsg-1","2:4.21.0~rc1+really4.20.4+dfsg-1","2:4.21.0~rc2+dfsg-1","2:4.21.1+dfsg-1","2:4.21.1+dfsg-1~bpo12+1","2:4.21.1+dfsg-2","2:4.21.1+dfsg-2+hurd.1","2:4.21.1+dfsg-2~bpo12+1","2:4.21.2+dfsg-1","2:4.21.2+dfsg-2","2:4.21.2+dfsg-3","2:4.21.2+dfsg-3~bpo12+1","2:4.21.2+dfsg-4","2:4.21.2+dfsg-4+hurd.1","2:4.21.2+dfsg-4~exp1","2:4.21.3+dfsg-1","2:4.21.3+dfsg-1~bpo12+1","2:4.21.3+dfsg-2","2:4.21.3+dfsg-3","2:4.21.3+dfsg-4","2:4.21.3+dfsg-4~bpo12+1","2:4.21.3+dfsg-5","2:4.21.3+dfsg-5~bpo12+1","2:4.21.3+dfsg-6","2:4.21.3+dfsg-6~bpo12+1","2:4.21.4+dfsg-1","2:4.21.4+dfsg-1~bpo12+1","2:4.21.5+dfsg-1~bpo12+1","2:4.22.0+dfsg-1","2:4.22.0+dfsg-2","2:4.22.0+dfsg-3","2:4.22.0~rc1+dfsg-1","2:4.22.1+dfsg-1","2:4.22.1+dfsg-1~bpo12+1","2:4.22.2+dfsg-1","2:4.22.2+dfsg-1~bpo12+1","2:4.22.3+dfsg-1","2:4.22.3+dfsg-2","2:4.22.3+dfsg-2~bpo12+1","2:4.22.3+dfsg-3","2:4.22.3+dfsg-4","2:4.22.3+dfsg-4~bpo12+1","2:4.22.4+dfsg-1","2:4.22.4+dfsg-1~deb13u1","2:4.22.4+dfsg-1~deb13u1~bpo12+1","2:4.23.0+dfsg-1","2:4.23.0+dfsg-2","2:4.23.0+dfsg-3","2:4.23.0~rc1+dfsg-1","2:4.23.0~rc2+dfsg-1","2:4.23.0~rc3+dfsg-1","2:4.23.1+dfsg-1","2:4.23.2+dfsg-1","2:4.23.3+dfsg-1","2:4.23.3+dfsg-1~bpo13+1","2:4.23.4+dfsg-1","2:4.23.4+dfsg-1~bpo13+1","2:4.23.5+dfsg-1","2:4.23.5+dfsg-1~bpo13+1","2:4.23.6+dfsg-1","2:4.23.6+dfsg-2","2:4.23.6+dfsg-2~bpo13+1","2:4.24.0+dfsg-1","2:4.24.0~rc1+dfsg-1","2:4.24.0~rc1+dfsg-2","2:4.24.0~rc1+dfsg-3","2:4.24.0~rc2+dfsg-1","2:4.24.1+dfsg-1","2:4.24.2+dfsg-1","2:4.24.2+dfsg-1~bpo13+1","2:4.24.3+dfsg-1","2:4.24.3+dfsg-1~bpo13+1","2:4.24.4+dfsg-1","2:4.24.4+dfsg-1~bpo13+1","2:4.24.5+dfsg-1","2:4.24.5+dfsg-1~bpo13+1","2:4.24.6+dfsg-1","2:4.24.7+dfsg-1","2:4.24.7+dfsg-1~bpo13+1","2:4.24.8+dfsg-1~bpo13+1","2:4.25.0+dfsg-1","2:4.25.0~rc1+dfsg-1","2:4.25.1+dfsg-1","2:4.25.2+dfsg-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-125635.json"}},{"package":{"name":"samba","ecosystem":"Debian:13","purl":"pkg:deb/debian/samba?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:4.22.10+dfsg-0+deb13u1","2:4.22.10+dfsg-0+deb13u2","2:4.22.11+dfsg-0+deb13u1","2:4.22.3+dfsg-4","2:4.22.4+dfsg-1","2:4.22.4+dfsg-1~deb13u1","2:4.22.4+dfsg-1~deb13u1~bpo12+1","2:4.22.6+dfsg-0+deb13u1","2:4.22.6+dfsg-0+deb13u1~bpo12+1","2:4.22.8+dfsg-0+deb13u1","2:4.22.8+dfsg-0+deb13u2","2:4.23.0+dfsg-1","2:4.23.0+dfsg-2","2:4.23.0+dfsg-3","2:4.23.0~rc1+dfsg-1","2:4.23.0~rc2+dfsg-1","2:4.23.0~rc3+dfsg-1","2:4.23.1+dfsg-1","2:4.23.2+dfsg-1","2:4.23.3+dfsg-1","2:4.23.3+dfsg-1~bpo13+1","2:4.23.4+dfsg-1","2:4.23.4+dfsg-1~bpo13+1","2:4.23.5+dfsg-1","2:4.23.5+dfsg-1~bpo13+1","2:4.23.6+dfsg-1","2:4.23.6+dfsg-2","2:4.23.6+dfsg-2~bpo13+1","2:4.24.0+dfsg-1","2:4.24.0~rc1+dfsg-1","2:4.24.0~rc1+dfsg-2","2:4.24.0~rc1+dfsg-3","2:4.24.0~rc2+dfsg-1","2:4.24.1+dfsg-1","2:4.24.2+dfsg-1","2:4.24.2+dfsg-1~bpo13+1","2:4.24.3+dfsg-1","2:4.24.3+dfsg-1~bpo13+1","2:4.24.4+dfsg-1","2:4.24.4+dfsg-1~bpo13+1","2:4.24.5+dfsg-1","2:4.24.5+dfsg-1~bpo13+1","2:4.24.6+dfsg-1","2:4.24.7+dfsg-1","2:4.24.7+dfsg-1~bpo13+1","2:4.24.8+dfsg-1~bpo13+1","2:4.25.0+dfsg-1","2:4.25.0~rc1+dfsg-1","2:4.25.1+dfsg-1","2:4.25.2+dfsg-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-125635.json"}},{"package":{"name":"samba","ecosystem":"Debian:14","purl":"pkg:deb/debian/samba?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:4.22.3+dfsg-4","2:4.22.4+dfsg-1","2:4.22.4+dfsg-1~deb13u1","2:4.22.4+dfsg-1~deb13u1~bpo12+1","2:4.23.0+dfsg-1","2:4.23.0+dfsg-2","2:4.23.0+dfsg-3","2:4.23.0~rc1+dfsg-1","2:4.23.0~rc2+dfsg-1","2:4.23.0~rc3+dfsg-1","2:4.23.1+dfsg-1","2:4.23.2+dfsg-1","2:4.23.3+dfsg-1","2:4.23.3+dfsg-1~bpo13+1","2:4.23.4+dfsg-1","2:4.23.4+dfsg-1~bpo13+1","2:4.23.5+dfsg-1","2:4.23.5+dfsg-1~bpo13+1","2:4.23.6+dfsg-1","2:4.23.6+dfsg-2","2:4.23.6+dfsg-2~bpo13+1","2:4.24.0+dfsg-1","2:4.24.0~rc1+dfsg-1","2:4.24.0~rc1+dfsg-2","2:4.24.0~rc1+dfsg-3","2:4.24.0~rc2+dfsg-1","2:4.24.1+dfsg-1","2:4.24.2+dfsg-1","2:4.24.2+dfsg-1~bpo13+1","2:4.24.3+dfsg-1","2:4.24.3+dfsg-1~bpo13+1","2:4.24.4+dfsg-1","2:4.24.4+dfsg-1~bpo13+1","2:4.24.5+dfsg-1","2:4.24.5+dfsg-1~bpo13+1","2:4.24.6+dfsg-1","2:4.24.7+dfsg-1","2:4.24.7+dfsg-1~bpo13+1","2:4.24.8+dfsg-1~bpo13+1","2:4.25.0+dfsg-1","2:4.25.0~rc1+dfsg-1","2:4.25.1+dfsg-1","2:4.25.2+dfsg-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-125635.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}