CVE-2026-102731: Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode
This Apache advisory covers CVE-2026-102731 in Apache Directory LDAP.
Key facts
- Vendor rating
- High, CVSS 7.5
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H· base score 7.5, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.- Weakness
- CWE-789 Memory allocation with excessive size value
- EPSS
- 0.43% chance of exploitation in the next 30 days (37th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Affected
- Apache Directory LDAP API 1.2.0 before 1.2.9
- Fixed in
- 1.2.9
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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.
Text from the source record.
- Apache Directory LDAP API 1.2.0 before 1.2.9
Official advisory · medium-confidence parse· fetched ·verify at source
How to fix CVE-2026-102731
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Users are recommended to upgrade to version 1.2.9, which fixes the issue.
CVE-2026-102731 in other vendors' advisories
- Red Hat: CVE-2026-102731, high severity, fixed in 1.2.9
More Apache Software Foundation advisories
CVE-2026-103885Oct 2, 2026Apache Directory LDAP API: Denial of service via crafted telephone number valuesCVE-2026-103877Oct 2, 2026Apache Directory LDAP API: Unsafe loading of Java code from LDAP schema elementsCVE-2026-103880Oct 2, 2026Apache Directory LDAP API: Denial of serviceCVE-2026-103878Oct 2, 2026Apache Directory LDAP API: Injection of plaintext responses during StartTLSCVE-2026-103552Oct 2, 2026Apache Directory LDAP API: A unbound client can send a deeply nested search filterCVE-2026-96295Nov 20, 2026Apache Texera: Authenticated users can bypass normal controls on the reading and writing
Apache Software Foundation advisories, October 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.