{"api_version":"1","generated_at":"2026-10-02T11:08:50+00:00","cve":"CVE-2026-102731","urls":{"html":"https://cve.report/CVE-2026-102731","api":"https://cve.report/api/cve/CVE-2026-102731.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-102731","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102731"},"summary":{"title":"Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode","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.","state":"PUBLISHED","assigner":"apache","published_at":"2026-10-02 10:17:04","updated_at":"2026-10-02 10:17:04"},"problem_types":["CWE-789","CWE-789 CWE-789 Memory allocation with excessive size value"],"metrics":[],"references":[{"url":"https://lists.apache.org/thread.html/b8kg8881pc0v8lp59w0fcfrs69wjbqvd","name":"https://lists.apache.org/thread.html/b8kg8881pc0v8lp59w0fcfrs69wjbqvd","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102731","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102731","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Apache Software Foundation","product":"Apache Directory LDAP API","version":"affected 1.2.0 1.2.9 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Claude Security","lang":"en"},{"source":"CNA","value":"The Apache Software Foundation","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.maven.apache.org/maven2","defaultStatus":"unaffected","packageName":"org.apache.directory.api:api-asn1-ber","packageURL":"pkg:maven/org.apache.directory.api/api-asn1-ber","product":"Apache Directory LDAP API","vendor":"Apache Software Foundation","versions":[{"lessThan":"1.2.9","status":"affected","version":"1.2.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"tool","value":"Claude Security"},{"lang":"en","type":"finder","value":"The Apache Software Foundation"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Memory allocation with excessive size value vulnerability in Apache Directory LDAP API.</p><p>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.</p><p>The client JVM OOMs (OutOfMemoryError bypasses the DecoderException handlers) or pins the large allocation per connection while the attacker stalls.</p><p>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.</p><p>This issue affects Apache Directory LDAP API: from 1.2.0 before 1.2.9.</p><p>Users are recommended to upgrade to version 1.2.9, which fixes the issue.</p>"}],"value":"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."}],"metrics":[{"other":{"content":{"text":"critical"},"type":"Textual description of severity"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","description":"CWE-789 Memory allocation with excessive size value","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-02T09:22:00.813Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache"},"references":[{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread.html/b8kg8881pc0v8lp59w0fcfrs69wjbqvd"}],"source":{"discovery":"INTERNAL"},"title":"Apache Directory LDAP API: Denial of service via excessive memory allocation in BER decode","x_generator":{"engine":"Vulnogram 1.0.3"}}},"cveMetadata":{"assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","cveId":"CVE-2026-102731","datePublished":"2026-10-02T09:22:00.813Z","dateReserved":"2026-09-29T16:17:56.332Z","dateUpdated":"2026-10-02T09:22:00.813Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-02 10:17:04","lastModifiedDate":"2026-10-02 10:17:04","problem_types":["CWE-789","CWE-789 CWE-789 Memory allocation with excessive size value"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"102731","Ordinal":"1","Title":"Apache Directory LDAP API: Denial of service via excessive memor","CVE":"CVE-2026-102731","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"102731","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Apache Directory LDAP API: Denial of service via excessive memor"}]}}}