This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-58222 →
Categories
DEBIAN-CVE-2026-58222

A security flaw combining LDAP filter injection and improper authorization checks was found in Samba Active Directory Domain Controller (AD DC). When...

Original description

The description as published by the source.

A security flaw combining LDAP filter injection and improper authorization checks was found in Samba Active Directory Domain Controller (AD DC). When processing LDAP Compare requests, Samba fails to properly validate user-supplied attribute names and executes the resulting internal database search in a trusted context, bypassing normal Access Control List (ACL) enforcement. An authenticated low-privilege domain user can exploit these flaws to disclose confidential Active Directory attributes that would normally be inaccessible. The disclosed information may be leveraged to derive sensitive authentication material, potentially leading to privilege escalation and complete domain compromise. For example: In deployments configured with Group Managed Service Accounts (gMSAs), an attacker can extract the "msKds-RootKeyData" attribute and derive gMSA passwords offline, potentially leading to complete domain compromise if privileged gMSAs are present.

Source: OSV.dev (Open Source Vulnerabilities) OSV

Affected packages

Debian:12 samba
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13 samba
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.22.10+dfsg-0+deb13u2"}]}]
Debian:14 samba
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.24.5+dfsg-1"}]}]

References

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