CVE-2026-102731
published high CVSS 3.1 · 7.5Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.directory.api:api-asn1-berApache Directory LDAP API · 1.2.0 to < 1.2.9 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Directory LDAP API | 1.2.0 to < 1.2.9 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-789 CWE-789 Memory allocation with excessive size value
References
2Provider assertions
3apache · cna
Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 34c2d7661348d372e9a6b29932b6b60078f2c06f84428328131950a619f74040
- Ingested
- 05 Oct 2026, 18:36:44 UTC
- Source record
- Official CVE record