Skip to main content
EPSS 0.2%top 92%

Memory allocation with excessive size value vulnerability in Apache Directory LDAP API. (CVE-2026-102731)

0
High
Published: 10/02/2026 (10/02/2026, 12:31:09 UTC)
Source: GCVE Database

Description

A vulnerability in Apache Directory LDAP API versions 1.2.0 through before 1.2.9 allows a malicious peer or man-in-the-middle to trigger excessive memory allocation by sending a small BER-encoded response. This can cause the client JVM to throw an OutOfMemoryError or exhaust heap memory, leading to denial of service. The issue is fixed in version 1.2.9.

Affected software

org.apache.directory.api/api-ldap-client
pkg:maven/org.apache.directory.api/api-ldap-client
Affected versions
>=1.2.0 <1.2.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 18:03:44 UTC

Technical Analysis

The Apache Directory LDAP API contains a memory allocation vulnerability (CVE-2026-102731) where an attacker can send a crafted BER-encoded response that causes the client to allocate an excessively large amount of memory before receiving actual data. This results in an OutOfMemoryError that bypasses DecoderException handlers or pins large memory allocations per connection, allowing denial of service by exhausting heap memory with only a few connections. The vulnerability affects versions from 1.2.0 up to but not including 1.2.9. The issue can also impact embedding servers that do not set MAX_PDU_SIZE_ATTR, as unauthenticated pre-bind clients can trigger the same behavior.

Potential Impact

Successful exploitation leads to denial of service by causing the client JVM to run out of memory or by exhausting heap memory through multiple connections. This can disrupt LDAP client operations and potentially affect embedding servers that lack proper configuration to limit PDU size.

Mitigation Recommendations

Users should upgrade to Apache Directory LDAP API version 1.2.9 or later, which contains the fix for this vulnerability. No other mitigations are indicated. Patch status is confirmed by the vendor advisory recommending upgrade to 1.2.9.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-h24g-pjpf-8f2m
Osv Schema Version
1.4.0
Aliases
["CVE-2026-102731"]
State
PUBLISHED

Threat ID: 6abfee9ca43b0b3b89e551aa

Added to database: 10/02/2026, 17:49:16 UTC

Last enriched: 10/02/2026, 18:03:44 UTC

Last updated: 10/03/2026, 02:46:02 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses