High severity · published Oct 2, 2026
CVE-2026-102731
Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AD
Affected product
AD
Apache Directory LDAP API
Apache Software Foundation
More from Apache Directory LDAP API
9.8
CVE-2026-103877
Apache Directory LDAP API: Unsafe loading of Java code from LDAP schema elements
8.5
CVE-2026-35563
Apache Directory LDAP API: LDAP client implementation does not verify if the server certificate matches the intended LDAP hostname
7.5
CVE-2026-103885
Apache Directory LDAP API: Denial of service via crafted telephone number values
7.5
CVE-2026-103880
Apache Directory LDAP API: Denial of service via excessive bcrypt cost factor in stored passwords
7.5
CVE-2026-103878
Apache Directory LDAP API: Injection of plaintext responses during StartTLS