
CVE catalog
CVE-2026-102731
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 a
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.43% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | apache-directory-api | sid | 2.1.2-2 | vulnerable |
| Debian | apache-directory-api | forky | 2.1.2-2 | vulnerable |
| Debian | apache-directory-api | trixie | 2.1.2-2 | vulnerable |
| Debian | apache-directory-api | bookworm | 2.1.2-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | apache-directory-api | source | sid | (unfixed) | not yet assigned | Not reported | [1149877] |
| Debian | apache-directory-api | source | forky | (unfixed) | not yet assigned | Not reported | [1149877] |
| Debian | apache-directory-api | source | trixie | (unfixed) | not yet assigned | Not reported | [1149877] |
| Debian | apache-directory-api | source | bookworm | (unfixed) | not yet assigned | Not reported | [1149877] |
Notes
[trixie] apache-directory-api: Minor issue [bookworm] apache-directory-api: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libapache-directory-api-java]Affected
Source package: [apache-directory-api]
Details (2)
2.1.2-1· all · bookwormAffected
nvd · apache-directory-api · debian · bookworm; nvd · apache-directory-api · debian · 12
2.1.2-1· all · bookwormAffected
nvd · apache-directory-api · debian · bookworm; nvd · apache-directory-api · debian · 12
[Debian 13 (Trixie)]
- [libapache-directory-api-java]Affected
Source package: [apache-directory-api]
Details (2)
2.1.2-2· all · trixieAffected
nvd · apache-directory-api · debian · 13
2.1.2-2· all · trixieAffected
nvd · apache-directory-api · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-102731]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-102731]
- [https://security-tracker.debian.org/tracker/CVE-2026-102731]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102731.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]