Skip to content

CVE-2026-35563 Apache Directory LDAP API: LDAP client implementation does not verify if the server certificate matches the intended LDAP hostname

HighCVSS 8.8 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP
hostname. While the underlying code validates the certificate chain
against a trusted authority, the absence of endpoint identification
allows a valid certificate issued for an entirely unrelated host to be
improperly accepted. This oversight leaves the connection highly
vulnerable to server impersonation and complete connection compromise.

The
root cause of this vulnerability lies in the incomplete TLS server
identity verification within the LDAP client implementation.

The attacker requires MITM capability on the network to exploit this vulnerability. This attacker must be able to present a certificate trusted by the client's configured trust store.

The hostname verification has been enforced in the new version of the LDAP API

Upgrade path

9 packages: 3 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/apache-directory-api(Debian 12) = 2.1.2-1; = 2.1.2-2; = 2.1.9-1; All versions No fix listed No fix yet
debian/apache-directory-api(Debian 13) = 2.1.2-2; = 2.1.9-1; All versions No fix listed No fix yet
ubuntu/apache-directory-api(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/apache-directory-api(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/apache-directory-api(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/apache-directory-api(Ubuntu 26.10) All versions No fix listed No fix yet
apache directory ldap api >= 2.0.0, < 2.1.7 2.1.7 Fixed
debian/apache-directory-api(Debian 14) < 2.1.9-1; = 2.1.2-2 2.1.9-1 Fixed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.0; = 2.0.0.AM1; = 2.0.0.AM2; = 2.0.0.AM3 +13 more 2.1.8 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.directory.api/api-ldap-client-api(Maven) >= 2.0.0, < 2.1.8 2.1.8
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.0 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.0.AM1 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.0.AM2 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.0.AM3 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.0.AM4 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.1 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.0.2 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.0 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.1 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.2 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.3 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.4 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.5 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.6 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) = 2.1.7 No fix listed
org.apache.directory.api/api-ldap-client-api(Maven) >= 2.0.0, <= 2.1.7 No fix listed
debian/apache-directory-api(Debian:12) All versions No fix listed
debian/apache-directory-api(Debian:12) = 2.1.2-1 No fix listed
debian/apache-directory-api(Debian:12) = 2.1.2-2 No fix listed
debian/apache-directory-api(Debian:12) = 2.1.9-1 No fix listed
debian/apache-directory-api(Debian:13) All versions No fix listed
debian/apache-directory-api(Debian:13) = 2.1.2-2 No fix listed
debian/apache-directory-api(Debian:13) = 2.1.9-1 No fix listed
debian/apache-directory-api(Debian:14) < 2.1.9-1 2.1.9-1
Show 6 more
ProductAffected versionsFixed in
debian/apache-directory-api(Debian:14) = 2.1.2-2 No fix listed
ubuntu/apache-directory-api(Ubuntu:22.04) All versions No fix listed
ubuntu/apache-directory-api(Ubuntu:24.04) All versions No fix listed
ubuntu/apache-directory-api(Ubuntu:26.04) All versions No fix listed
ubuntu/apache-directory-api(Ubuntu:26.10) All versions No fix listed
apache directory ldap api >= 2.0.0, < 2.1.7 2.1.7

References