CVE-2026-102731 Details
Description
Memory allocation with excessive size value vulnerability in Apache Directory LDAP API. A malicious peer (or a MITM) can send a small BER-encoded response causing a large memory allocation before any data is received. This can lead to an OutOfMemoryError and denial of service. The client JVM OOMs (OutOfMemoryError bypasses the DecoderException handlers) or pins the large allocation per connection while the attacker stalls. A handful of connections exhausts any heap. The same bytes from an unauthenticated pre-bind client hit any embedding server that did not set MAX_PDU_SIZE_ATTR. This issue affects Apache Directory LDAP API: from 1.2.0 before 1.2.9. Users are recommended to upgrade to version 1.2.9, which fixes the issue.
A denial-of-service vulnerability has been identified in the Apache Directory LDAP API versions 1.2.0 prior to 1.2.9. This issue arises from excessive memory allocation caused by small BER-encoded responses from a malicious peer or a man-in-the-middle attacker. The vulnerability allows for large memory allocations before any data is actually received, leading to an OutOfMemoryError. In the client JVM, this error bypasses the usual exception handling, causing the application to run out of memory. Alternatively, the large memory allocation can be pinned per connection while the attacker stalls, exhausting the application's heap memory. This issue particularly affects servers that did not set the MAX_PDU_SIZE_ATTR attribute, as the same bytes from an unauthenticated pre-bind client can impact any embedding server.
Users are advised to upgrade to Apache Directory LDAP API version 1.2.9, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 2, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/10/02/3 | CVE | AdvisoryMailing ListRemedy |
| https://lists.apache.org/thread.html/b8kg8881pc0v8lp59w0fcfrs69wjbqvd | [email protected] | AdvisoryMailing ListRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-789 | Memory Allocation with Excessive Size Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Apache Directory LDAP API | >= 1.2.0, < 1.2.9 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2026 | CVE Modified | CVE |
| Oct 2, 2026 | New CVE Received | [email protected] |
Volerion