Description
Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP eldap allows a malicious or compromised LDAP server to degrade availability by returning a referral URL whose port component is a very long run of digits.

eldap:parse_port/2 passes the port substring straight to list_to_integer/1 with no length bound. The surrounding try ... catch only rejects a value that fails to parse, so a syntactically valid port of up to roughly 1.26 million digits converts successfully and costs the caller hundreds of milliseconds of arbitrary-precision arithmetic per referral. The conversion function itself is documented to accept integers of any size, so bounding the input is the caller's responsibility. Reaching the flaw requires the application to pass a server-supplied referral to eldap:parse_ldap_url/1, which eldap never calls itself: referral strings are returned to the caller unparsed.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to eldap from 1.0.3 before 1.2.14.2, from 1.2.15 before 1.2.16.1, and from 1.3 before 1.3.1.
Published: 2026-09-01
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via integer conversion of a long port component
Action: Patch Immediately
AI Analysis

Impact

The eldap module of Erlang OTP does not bound the length of the port component in an LDAP referral URL before converting it to an integer. A malicious or compromised LDAP server can return a referral URL whose port field contains a very long string of digits, up to approximately one million or more. The eldap:parse_port/2 function passes that substring directly to Erlang's list_to_integer/1, which accepts arbitrarily large integers. Converting such a gigantic number consumes significant CPU time, degrading the responsiveness or causing timeout of the application that invoked eldap:parse_ldap_url/1, effectively creating a denial-of-service condition.

Affected Systems

Erlang OTP releases that contain eldap 1.0.3 through 1.2.14.2, 1.2.15 through 1.2.16.1, and 1.3 through 1.3.1 are affected. That corresponds to OTP 17.0 up to 27.3.4.16, OTP 28.0 up to 28.5.0.5, and OTP 29.0 up to 29.0.5. The affected vendor is Erlang OTP.

Risk and Exploitability

The reported CVSS score of 6.3 indicates moderate severity. The EPSS score is not available, so the current exploitation probability cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. Explosion of a long port number requires an attacker to control the LDAP server or supply a crafted referral to the application. If such a referral reaches eldap:parse_ldap_url/1 without being parsed by the library itself, the internal conversion can be triggered, potentially slowing down the system for hundreds of milliseconds per referral. The impact is limited to availability and is local to the process that processes the referral.

Generated by OpenCVE AI on September 1, 2026 at 16:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Erlang OTP to the latest release that includes the eldap fix (OTP 29.0.6 or newer).
  • Update the eldap library to the latest stable version (1.3.1 or newer).
  • If an immediate upgrade is not feasible, implement a pre-validation step to reject or truncate referral URLs whose port component exceeds a reasonable length before passing them to eldap:parse_ldap_url.

Generated by OpenCVE AI on September 1, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate


Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Erlang erlang/otp
Vendors & Products Erlang erlang/otp
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP eldap allows a malicious or compromised LDAP server to degrade availability by returning a referral URL whose port component is a very long run of digits. eldap:parse_port/2 passes the port substring straight to list_to_integer/1 with no length bound. The surrounding try ... catch only rejects a value that fails to parse, so a syntactically valid port of up to roughly 1.26 million digits converts successfully and costs the caller hundreds of milliseconds of arbitrary-precision arithmetic per referral. The conversion function itself is documented to accept integers of any size, so bounding the input is the caller's responsibility. Reaching the flaw requires the application to pass a server-supplied referral to eldap:parse_ldap_url/1, which eldap never calls itself: referral strings are returned to the caller unparsed. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to eldap from 1.0.3 before 1.2.14.2, from 1.2.15 before 1.2.16.1, and from 1.3 before 1.3.1.
Title eldap does not bound the port component of a referral URL before integer conversion
First Time appeared Erlang
Erlang erlang\/otp
Weaknesses CWE-1284
CPEs cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
Vendors & Products Erlang
Erlang erlang\/otp
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Erlang Erlang/otp Erlang\/otp
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-09-08T01:09:09.018Z

Reserved: 2026-08-09T16:30:01.576Z

Link: CVE-2026-70409

cve-icon Vulnrichment

Updated: 2026-09-01T17:53:06.647Z

cve-icon NVD

Status : Deferred

Published: 2026-09-01T15:17:24.427

Modified: 2026-09-08T01:17:53.137

Link: CVE-2026-70409

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-01T14:51:00Z

Links: CVE-2026-70409 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T20:15:03Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input