CVE-2026-35563
published high CVSS 4.0 · 8.8Apache Directory LDAP API: LDAP client implementation does not verify if the server certificate matches the intended LDAP hostname
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.directory.api:api-ldap-client-apiApache Directory LDAP API · 2.0.0 through 2.1.7 · Other versions: unaffected | Affected | Not stated | apache |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- apache · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:L/SA:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Directory LDAP API | 2.0.0 through 2.1.7 (affected · maven)Default: unaffected | apache · cna |
Weaknesses
1- CWE-297 CWE-297 Improper Validation of Certificate with Host Mismatch
References
2Provider assertions
3apache · cna
Apache Directory LDAP API: LDAP client implementation does not verify if the server certificate matches the intended LDAP hostname
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5f95524bc7961d97a6a5d5f7b9e445eadb922e4a58bce93ff777e9ba837e6eae
- Ingested
- 23 Sep 2026, 09:11:49 UTC
- Source record
- Official CVE record