CVE-2026-102731
JSON

7.5high

Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache

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.

Affected

Product or packageVersionsReported by
org.apache.directory.api:api-asn1-berfrom 1.2.0 before 1.2.9CVE List

Classification

CWE-789

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102731 changed 2026-10-05CVE Terms of Use
NVDCVE-2026-102731 changed 2026-10-05Public domain