CVE-2026-102731 Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
8 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/apache-directory-api(Debian 12) | = 2.1.2-1; = 2.1.2-2; = 2.1.9-1; All versions | No fix listed | No fix yet |
| debian/apache-directory-api(Debian 13) | = 2.1.2-2; = 2.1.9-1; All versions | No fix listed | No fix yet |
| ubuntu/apache-directory-api(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-directory-api(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-directory-api(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-directory-api(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/apache-directory-api(Debian 14) | < 2.1.9-1; = 2.1.2-2 | 2.1.9-1 | Fixed |
| org.apache.directory.api/api-asn1-ber(Maven) | >= 1.2.0, < 1.2.9 | 1.2.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.directory.api/api-asn1-ber(Maven) | >= 1.2.0, < 1.2.9 | 1.2.9 |
| debian/apache-directory-api(Debian:12) | All versions | No fix listed |
| debian/apache-directory-api(Debian:12) | = 2.1.2-1 | No fix listed |
| debian/apache-directory-api(Debian:12) | = 2.1.2-2 | No fix listed |
| debian/apache-directory-api(Debian:12) | = 2.1.9-1 | No fix listed |
| debian/apache-directory-api(Debian:13) | All versions | No fix listed |
| debian/apache-directory-api(Debian:13) | = 2.1.2-2 | No fix listed |
| debian/apache-directory-api(Debian:13) | = 2.1.9-1 | No fix listed |
| debian/apache-directory-api(Debian:14) | < 2.1.9-1 | 2.1.9-1 |
| debian/apache-directory-api(Debian:14) | = 2.1.2-2 | No fix listed |
| ubuntu/apache-directory-api(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/apache-directory-api(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/apache-directory-api(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/apache-directory-api(Ubuntu:26.10) | All versions | No fix listed |
References
- lists.apache.org vendor-advisory
- www.openwall.com
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2544985 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-102731 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-91333 third-party-advisory