Skip to content
NewA calmer, faster ZeroHour
Vulnerability2 · 1 read

CVE-2026-103880

DoS via excessive bcrypt cost in Apache Directory LDAP API

CVSS 3.1
7.5 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-103880 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Apache Directory LDAP API from 2.1.0 before 2.1.9 has an asymmetric resource consumption flaw (CWE-405) in bcrypt password handling. Storing a password with a very high bcrypt cost factor, such as 30, on an LDAP server that supports that algorithm causes credential checks to consume CPU for hours because no upper bound is enforced. The impact is denial of service against the server performing those checks, not remote code execution or data theft. Deployments of the affected API versions are impacted, including directory servers and applications that use the library for bcrypt verification. No public proof of concept is known, in-the-wild exploitation has not been reported, the issue is not in the CISA KEV catalog, and CVSS has not yet been scored.

What to do: Upgrade Apache Directory LDAP API to 2.1.9, which bounds bcrypt cost and fixes the issue. Until then, reject or cap bcrypt cost factors when passwords are stored and review existing hashes for unusually high cost values that could stall credential checks for hours.

ProductAffected
Apache Software Foundation Apache Directory LDAP API2.1.0 before 2.1.9
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

Asymmetric Resource Consumption vulnerability in Apache Directory LDAP API. Storing a password using the bcrypt algorithm with a high force like 30 in a LDAP server that supports this algorithm will cause the server CPU to run for hours checking the credentials. A bounded cost should be enforced to avoid a server DOS. This issue affects Apache Directory LDAP API: from 2.1.0 before 2.1.9. Users are recommended to upgrade to version 2.1.9, which fixes the issue.

Weakness
CWE-405
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the news

1 story