{"id":"CVE-2026-102731","published":"2026-10-02T10:17:04.530","lastModified":"2026-10-05T19:17:12.740","description":"Memory allocation with excessive size value vulnerability in Apache Directory LDAP API.\n\n\n\nA 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.\n\n\n\nThe client JVM OOMs (OutOfMemoryError bypasses the DecoderException handlers) or pins the large allocation per connection while the attacker stalls.\n\n\n\nA 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.\n\n\n\nThis issue affects Apache Directory LDAP API: from 1.2.0 before 1.2.9.\n\n\n\nUsers are recommended to upgrade to version 1.2.9, which fixes the issue.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-789"],"vendors":[],"products":[],"references":[{"url":"https://lists.apache.org/thread.html/b8kg8881pc0v8lp59w0fcfrs69wjbqvd","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/02/3","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"A memory allocation vulnerability in Apache Directory LDAP API allows attackers to trigger excessive heap allocations through malformed BER-encoded responses, leading to denial of service via OutOfMemoryError. This affects versions 1.2.0 through 1.2.8 and can be exploited by unauthenticated peers or MITM attackers.","exploitability":"Exploitation is relatively straightforward as attackers only need to send a small BER-encoded response that triggers a large memory allocation, with no authentication required and minimal preconditions.","blast_radius":"The vulnerability can impact any server embedding Apache Directory LDAP API with default settings, potentially causing widespread service disruption with just a handful of malicious connections exhausting available heap memory.","remediation":"Upgrade to version 1.2.9 which fixes the excessive memory allocation issue in Apache Directory LDAP API.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["ldap","dos","memory"],"model":"garnet-coder","analyzedAt":"2026-10-12T09:04:37.305Z"}}