Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 93%

CVE-2026-35563: CWE-297 Improper Validation of Certificate with Host Mismatch in Apache Software Foundation Apache Directory LDAP API

0
High
VulnerabilityCVE-2026-35563cvecve-2026-35563cwe-297
Published: Mon Jun 01 2026 (06/01/2026, 07:12:05 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Directory LDAP API

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

CVSS v4.0

Score 8.8high

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
Low
Subsq. Availability
Low
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/01/2026, 09:33:27 UTC

Technical Analysis

The LDAP client implementation in Apache Directory LDAP API version 2.1.7 and earlier does not perform hostname verification on the server certificate during TLS connections. While the certificate chain is validated against trusted certificate authorities, the client accepts certificates valid for unrelated hosts due to missing endpoint identification. This improper validation (CWE-297) allows an attacker with man-in-the-middle capabilities and a certificate trusted by the client to impersonate the LDAP server, leading to potential connection compromise. The issue is resolved by enforcing hostname verification in newer LDAP API versions.

Potential Impact

An attacker capable of man-in-the-middle attacks who can present a certificate trusted by the client's trust store can impersonate the LDAP server, leading to a complete compromise of the LDAP connection. This undermines the confidentiality and integrity of data transmitted over the LDAP connection.

Mitigation Recommendations

Hostname verification has been enforced in newer versions of the Apache Directory LDAP API. Users should upgrade to a version that includes this fix to ensure proper TLS server identity verification. Patch status is not explicitly confirmed in the advisory; therefore, verify the vendor advisory for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-03T13:46:12.414Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1d4e79e29bf47b50cd4b6b

Added to database: 6/1/2026, 9:18:49 AM

Last enriched: 6/1/2026, 9:33:27 AM

Last updated: 6/2/2026, 7:22:47 AM

Views: 29

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses