Technical impact
The eldap module in Erlang/OTP lacks bounds checking on the port component of an LDAP referral URL before passing the string to Erlang’s arbitrary‑precision list_to_integer function. A crafted port field containing a numeric string of up to roughly 1.26 million digits can be parsed successfully, consuming hundreds of milliseconds of CPU time per referral. When such referrals are processed by the application, the resulting high CPU usage can degrade the availability of the LDAP client process. This weakness is identified as CWE‑1284.
Affected Systems
Erlang OTP releases that include eldap versions 1.0.3 through 1.2.14.2, 1.2.16.1, or 1.3.1 are affected. These correspond to OTP 17.0 through 27.3.4.16, as well as the specific releases OTP 28.5.0.6 and OTP 29.0.6.
Risk and Exploitability
The CVSS score of 6.3 denotes moderate severity, while the EPSS score of less than 1 % indicates a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an attacker controlling a malicious or compromised LDAP server that sends a referral containing an extremely long port component; the application must accept and forward the referral to eldap:parse_ldap_url for the exploit to succeed. The impact is limited to process‑level availability and requires the attacker to influence the LDAP server or the referral data that reaches the client library.
Debian DSA