CVE-2026-102731

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductApache Directory LDAP API
PublishedOct 2, 2026
First seenOct 2, 2026
Weakness typeCWE-789CWE-789

How to fix

Update
  • Apache Software Foundation Apache Directory LDAP API1.2.9 or later

Affected products

ProductAffected versionsFixed in
Apache Software Foundation Apache Directory LDAP API1.2.0 ≤ v < 1.2.91.2.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.