Skip to content
VulniPulse
High7.5Apache Software Foundation

CVE-2026-102731: Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode

This Apache advisory covers CVE-2026-102731 in Apache Directory LDAP.

Open the Apache advisory

Key facts

Vendor rating
High, CVSS 7.5
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, .
CISA KEV
Not listed (catalogue checked )
Affected
Apache Directory LDAP API 1.2.0 before 1.2.9
Fixed in
1.2.9
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationApache Directory LDAP

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 source record.

Affected versions
  • Apache Directory LDAP API 1.2.0 before 1.2.9

Official advisory · medium-confidence parse· fetched ·verify at source

How to fix CVE-2026-102731

Upgrade to the first fixed release for your version, shown in the table above.

Vendor guidance

  • Users are recommended to upgrade to version 1.2.9, which fixes the issue.

CVE-2026-102731 in other vendors' advisories

Compare every advisory for CVE-2026-102731

Apache Software Foundation advisories, October 2026All Apache Software Foundation advisories

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.

Alert me about Apache