Skip to main content

Apache Directory LDAP API EUVDEUVD-2026-33569

| CVE-2026-35563 HIGH
Improper Validation of Certificate with Host Mismatch (CWE-297)
8.8
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify application using Apache LDAP API
  2. Delivery
    Obtain MITM position on LDAP path
  3. Exploit
    Present valid CA-signed certificate for wrong hostname
  4. Execution
    Client skips hostname check and binds
  5. Persist
    Capture LDAP credentials and queries
  6. Impact
    Relay or tamper with directory responses

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate host validation
Exploitation Conditions

Exploitation requires (1) the victim application to use a vulnerable version of the Apache Directory LDAP API as its LDAP client, (2) the attacker to occupy an active man-in-the-middle position on the network path between the client and the legitimate LDAP server (reflected in CVSS AT:P and AC:H), and (3) the attacker to possess any TLS certificate the client's truststore accepts - typically trivially obtainable from a public CA for an attacker-owned domain, since the bug is that hostname binding is skipped. Limiting factors: the attacker must have low-privilege network access on the LDAP traffic path (PR:L), exploitation is not automatable across the internet because each target's LDAP traffic must be intercepted individually, and clients that already pin certificates outside the library or use mutual TLS with strict server-side checks are partially protected.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/UI:N) describes a network-reachable issue requiring high attack complexity, an attack requirement (AT:P - presence of a specific condition such as an active man-in-the-middle position), and low privileges, yielding high confidentiality and integrity impact with subsequent scope changes. EPSS, KEV, and SSVC data were not provided, so probability of mass exploitation cannot be quantified, but the AC:H/AT:P combination signals that exploitation is conditional on the attacker already controlling a network path between the LDAP client and server - realistic in hostile-network, captive-portal, or compromised-internal-network scenarios but not opportunistic. No public exploit identified at time of analysis. Because the disclosure comes through the official ASF channel via oss-security and references the Apache lists thread, the vulnerability itself is well-attested even though downstream metadata (CPE, patched version, EPSS) is absent.

Exploit ScenarioDerived

An attacker who can intercept LDAP/LDAPS traffic - for example, via ARP spoofing on an internal subnet, a rogue Wi-Fi access point, or a compromised upstream router - presents a TLS certificate that is valid (signed by any CA the client trusts) but issued for a hostname the attacker controls. Because the Apache Directory LDAP API does not verify the certificate's hostname matches the intended LDAP server, the client completes the handshake and proceeds to transmit bind credentials and directory queries to the attacker, who can capture credentials and return manipulated directory responses to influence application authorization decisions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 01, 2026

Improper certificate hostname validation in the Apache Directory LDAP API client allows network-positioned attackers to impersonate LDAP servers and intercept authenticated directory traffic. The flaw was disclosed via the oss-security mailing list on 2026-06-01 and is tracked under CWE-297; no public exploit identified at time of analysis. With a CVSS 4.0 score of 8.8 and high confidentiality/integrity impact, the issue is significant for applications that rely on this library to connect to LDAP/LDAPS endpoints.

RemediationAI

Patch available per vendor advisory - consult the Apache mailing list thread at https://lists.apache.org/thread/5rc2nzqxp1m9wknyf93r8dnp46fhc1nn and the oss-security post at https://www.openwall.com/lists/oss-security/2026/06/01 for the fixed release coordinates, then upgrade the Apache Directory LDAP API dependency in all consuming applications. Until the upgrade is deployed, compensating controls include constraining LDAP client traffic to trusted network segments (so a MITM position is harder to achieve), pinning the LDAP server certificate or its issuing CA inside the application's trust store rather than relying on the system default truststore, and where the application code allows, wrapping LDAP connection setup with an explicit hostname verifier (for example, validating the server certificate's SAN against the configured hostname before issuing bind requests); the trade-off is that pinning and custom verifiers require operational discipline when certificates rotate and may break legitimate failover topologies.

Affected VersionsENISA

Apache Directory LDAP API 2.0.0 ≤2.1.7

Affected Packages

maven org.apache.directory.api:api-ldap-client-api fix: 2.1.8
euvd apache_directory_ldap_api no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Apache Directory LDAP API is a Java client library widely embedded in applications that need to talk to LDAP/LDAPS directory servers (such as ApacheDS, OpenLDAP, or Active Directory). CWE-297 (Improper Validation of Certificate with Host Mismatch) indicates that the TLS handshake completes successfully against any certificate the client trusts, without confirming that the certificate's Common Name or Subject Alternative Name matches the hostname the client was instructed to connect to. The CWE class makes this a classic TLS trust-boundary defect: encryption is present, but the cryptographic identity of the peer is not bound to the intended target, breaking the security guarantee TLS is supposed to provide. The 'Buffer Overflow' tag appears inconsistent with CWE-297 and likely reflects automated tagging rather than the actual root cause.

Know when Directory Ldap Api gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CNA) PRIMARY 8.8 HIGH
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

Primary rating from Vendor (CNA) · only source for this CVE.

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

3
CVSS changed
Jun 01, 2026 - 08:22 NVD
8.8 (HIGH)
CVE Published
Jun 01, 2026 - 04:45 nvd
UNKNOWN (no severity yet)
CVE Published
Jun 01, 2026 - 04:45 nvd
HIGH 8.8

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 80 maven packages depend on org.apache.directory.api:api-ldap-client-api (15 direct, 65 indirect)

Ecosystem-wide dependent count for version 2.0.0.

Executive ViewAI

Why It Matters

Apache Directory LDAP API client contains a certificate validation flaw allowing network attackers to impersonate LDAP servers and intercept authenticated directory traffic. Organizations using this library face substantial risk to the confidentiality and integrity of identity and authorization data transmitted to LDAP servers. This vulnerability affects any application relying on LDAP-based authentication or directory services without compensating network controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: implement network segmentation isolating LDAP client systems, enforce mutual TLS (mTLS) with certificate pinning to prevent server impersonation, restrict LDAP connections to dedicated secure network segments, deploy network monitoring to detect certificate anomalies, and maintain inventory of all systems using this library to prioritize patching upon vendor release.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy