{"schemaVersion":3,"id":"CVE-2026-102731","aliases":["UBUNTU-CVE-2026-102731","DEBIAN-CVE-2026-102731"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-02T09:22:00.813Z","modified":"2026-10-05T18:10:33.132Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0043,"percentile":0.35848,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-02T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0043,"percentile":0.35848}],"last30":[{"date":"2026-10-02T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00197,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0043,"percentile":0.35848}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value","description":"The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/789.html"}],"affected":[{"vendor":"apache software foundation","product":"apache directory ldap api","name":"Apache Directory LDAP API","label":"apache directory ldap api","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.2.0, < 1.2.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.2.0, < 1.2.9","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_directory_ldap_api"},{"vendor":"debian","product":"apache-directory-api","name":"apache-directory-api","label":"apache-directory-api","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/apache-directory-api","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"apache-directory-api","name":"apache-directory-api","label":"apache-directory-api","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/apache-directory-api","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/b8kg8881pc0v8lp59w0fcfrs69wjbqvd","label":"lists.apache.org/thread.html/b8kg8881pc0v8lp59w0fcfrs69wjbqvd","hostname":"lists.apache.org","tags":["Vendor Advisory","REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/02/3","label":"www.openwall.com/lists/oss-security/2026/10/02/3","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-102731","label":"ubuntu.com/security/CVE-2026-102731","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102731","label":"www.cve.org/CVERecord?id=CVE-2026-102731","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/10/02/3","label":"www.openwall.com/lists/oss-security/2026/10/02/3","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-102731","label":"security-tracker.debian.org/tracker/CVE-2026-102731","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-02T09:22:00.813Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-05T18:10:33.132Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:32:29.279Z","stale":false,"partial":false}}