Skip to main content

Apache Directory API CVE-2026-103877

| EUVDEUVD-2026-91361 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-10-02 security@apache.org GHSA-v496-rffp-c5q7
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Stand up rogue or MITM'd LDAP server
  2. Delivery
    Victim client calls loadSchema() subschema search
  3. Exploit
    Server returns malicious serialized Java object
  4. Execution
    Unsafe deserialization triggered in client
  5. Impact
    Arbitrary code execution on client host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a Java application using Apache Directory LDAP API versions 2.1.0 through 2.1.8 to invoke loadSchema() (subschema retrieval) against an LDAP server that the attacker controls, has compromised, or can impersonate - either by operating a rogue server the client connects to or by performing a man-in-the-middle attack before TLS is established. Limiting factors: the attacker cannot trigger this against a passive or server-side target; the victim client must initiate the schema-loading connection to the malicious endpoint, and connections properly protected and validated by TLS from the outset defeat the pre-TLS MITM path. Default configurations that load schema from a connected directory are affected if that directory is attacker-controlled.

Impact

Signals conflict in an important way. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, score 9.8) and CWE-502 with 'total' SSVC technical impact describe a critical, unauthenticated, full-RCE flaw. However, the description makes clear this is a CLIENT-SIDE deserialization bug: exploitation requires the victim's LDAP client to call loadSchema() against a rogue/compromised LDAP server, or an attacker to achieve pre-TLS MITM positioning. That precondition is not reflected in the AC:L rating - a more defensible rating treats the need to control/impersonate the server or hold a MITM position as elevated attack complexity (or a CVSS 4.0 attack requirement), lowering real-world ease. Corroborating lower-urgency signals: SSVC Exploitation is 'none' and the CVE is NOT in CISA KEV, so there is no confirmed active exploitation; EPSS is low (0.39%, 30th percentile), consistent with no public exploit and a non-trivial attacker position requirement. SSVC Automatable=yes is notable but is tempered by the fact that the attacker must first get the victim to connect to a malicious endpoint. Net: a genuinely serious flaw worth prompt patching for anyone running vulnerable versions, but it is a conditional client-side RCE rather than a wormable server-side 9.8 - treat it as high priority for exposed/roaming LDAP clients, not as an internet-facing critical emergency.

Exploit ScenarioDerived

An attacker who controls an LDAP server endpoint (a rogue server, a compromised directory, or a pre-TLS man-in-the-middle position) waits for a vulnerable Java client application using Apache Directory LDAP API 2.1.0-2.1.8 to connect. When the client issues its loadSchema() subschema search, the malicious server returns a schema object embedding a serialized Java class; the client deserializes it unsafely, potentially yielding remote code execution in the client process. No public exploit code has been identified at time of analysis, and there is no confirmed active exploitation.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Deserialization of untrusted schema data in Apache Directory LDAP API 2.1.0 through 2.1.8 lets a rogue, compromised, or pre-TLS man-in-the-middle LDAP server return a crafted schema object when a Java client calls loadSchema(), potentially executing arbitrary code inside the client process. The flaw is remotely reachable without credentials (CVSS vector PR:N) and vendor patches are available in 2.1.9, but exploitation requires the victim application to initiate a schema-loading connection to an endpoint the attacker controls or can impersonate, which is why the assessed vector raises attack complexity to High (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) even though the published base score is 9.8 under AC:L. No public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis, and EPSS remains low at 0.39% (30th percentile), with SSVC recording Exploitation: none, Automatable: yes, Technical Impact: total.

RemediationAI

Vendor-released patch: upgrade Apache Directory LDAP API to version 2.1.9, which the vendor states fixes the issue; rebuild and redeploy any application bundling versions 2.1.0 through 2.1.8, and verify the patched artifact version in the dependency tree rather than only in the parent POM. If an immediate upgrade is not possible, the primary compensating control is to eliminate the malicious-server path: disable or bypass loadSchema() (and related subschema retrieval) in the client and hardcode or locally cache the schema the application requires - the trade-off is loss of dynamic schema negotiation and possible failures against directories whose schema changes. As a second control, force all directory traffic through strictly validated TLS from the first byte (LDAPS on 636 or StartTLS negotiated before any application-level search) with full certificate and hostname verification and, where feasible, certificate pinning to the intended directory - this defeats the pre-TLS MITM vector but does not protect against a rogue server the client is explicitly configured to trust. As a third control, restrict outbound LDAP/LDAPS connectivity to known directory hosts via egress firewall rules and DNS resolution pinning so an attacker cannot redirect the client to an impersonated endpoint; DNS or hosts-file tampering that survives this control would still allow the rogue-server path. Restrict the client JVM's classpath to remove unnecessary deserialization gadget libraries and enable JEP 290 serialization filters where the runtime supports them, accepting that aggressive filters may break legitimate schema deserialization and require tuning. Advisory references: https://lists.apache.org/thread.html/sys8l881blqfgoc3o724jl32bmjl8pvw, https://seclists.org/oss-sec/2026/q4/34, http://www.openwall.com/lists/oss-security/2026/10/02/5, https://nvd.nist.gov/vuln/detail/CVE-2026-103877.

Affected VersionsENISA

Apache Directory LDAP API 2.1.0 <2.1.9

Affected Packages

euvd apache_directory_ldap_api fix: 2.1.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The affected component is the Apache Directory LDAP API, a pure-Java LDAP client library used by applications to talk to directory servers and to retrieve server-side schema. The weakness class is CWE-502 (Deserialization of Untrusted Data): the client's loadSchema() operation issues an LDAP subschema subentry search, and the returned schema object is handled in a way that permits a Java-serialized class embedded in that response to be deserialized by the client JVM. Because Java deserialization invokes readObject() on attacker-influenced byte streams, a malicious schema payload can drive a gadget chain in the client classpath and, per the vendor description, lead to some potential remote code execution. The trust boundary crossed here is the LDAP protocol trust model: the client treats the directory's subschema response as data, not as executable content. The attack surface is realized in two ways - a rogue or compromised LDAP server that the client is configured to query, or a man-in-the-middle positioned before TLS is established (including StartTLS negotiation gaps where the subschema search occurs over cleartext). This maps to EUVD-2026-91361 and carries the Apache/Java/Deserialization tags; the NVD base vector assumes AC:L while the independent assessment argues AC:H because the attacker cannot force the request and must first occupy the server side of the connection.

Know when Java 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 (apache) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

RCE via deserialization gives C:H/I:H/A:H, but AC:H because the attacker must control/impersonate the LDAP server or achieve pre-TLS MITM; no attacker auth needed so PR:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.1 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 07, 2026 - 23:22 NVD
9.8 (CRITICAL)
Patch available
Oct 02, 2026 - 11:17 EUVD
CVE Published
Oct 02, 2026 - 10:17 cve.org
CRITICAL 9.8
CVE Published
Oct 02, 2026 - 10:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Deserialization of Untrusted Data vulnerability in Apache Directory LDAP API.

A rogue/compromised LDAP server (or pre-TLS MITM) can answer a client's loadSchema() subschema search with a schema object that contains a serialized Java class, allowing some potential RCE.

This issue affects Apache Directory LDAP API: from 2.1.0 before 2.1.9.

Users are recommended to upgrade to version 2.1.9, which fixes the issue.

Executive ViewAI

Why It Matters

Apache Directory LDAP API versions 2.1.0 through 2.1.8 create a critical code-execution risk for Java applications that load schema data from untrusted or impersonated LDAP endpoints. Although no public exploit identified at time of analysis, the flaw is unauthenticated and could let an attacker-controlled server compromise the connecting client process. Leadership should prioritize remediation because affected applications may be business-critical and the potential impact is full compromise of the client environment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
common Java LDAP client library, not present in every environment
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Yes
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

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