CVE-2026-102731: Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode
CVE-2026-102731 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.5 (Apache), 7.5 (Red Hat)
- 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, .
- Fixed releases
- Apache: 1.2.9
- Red Hat: 1.2.9
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-102731; each belongs to its advisory, not to every product listed. How records are collected and checked.
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 CVE.org record (apache).
How do I fix CVE-2026-102731?
Upgrade to a fixed release named by the vendor:
- Apache: 1.2.9
- Red Hat: 1.2.9
- Users are recommended to upgrade to version 1.2.9, which fixes the issue. (Apache)
Vendor advisories for CVE-2026-102731
Apache
1 advisory- Advisory severityHigh7.5
High [CVE-2026-102731] Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode
CVE-2026-102731Source published Source updated
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 products in this advisory
- Apache Directory LDAP
- Source-reported affected versions
- Apache Directory LDAP API 1.2.0 before 1.2.9
- Source-reported fixed versions
- 1.2.9
- Mitigation guidance
- Users are recommended to upgrade to version 1.2.9, which fixes the issue.
Red Hat
1 advisory- Advisory severityHigh7.5
High [CVE-2026-102731] Denial of Service via excessive memory allocation
CVE-2026-102731Source published Source updated
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. Users are recommended to upgrade to version 1.2.9, which fixes the issue. Apache Directory LDAP API versions 1.2.0 through versions before 1.2.9 are affected; version 1.2.9 fixes the issue. This vulnerability is…
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- < 1.2.0
- < 1.2.9
- Source-reported fixed versions
- 1.2.9
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
References
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache 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
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.