CVE-2026-70409
Medium 6.3No known exploitationFix availableeldap does not bound the port component of a referral URL before integer conversion
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 49% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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, OTP 28.5.0.6, and OTP 29.0.6, corresponding to eldap from 1.0.3 before 1.2.14.2, 1.2.16.1, and 1.3.1.
Weakness: CWE-1284
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Erlang | OTP | 1.0.3 | Not documented | CVE Program |
| Erlang | OTP | 17.0 | Not documented | CVE Program |
| Erlang | OTP | d8dbf15de4fa1a08b9a05e7d8e08fdb025fe1dc3 | Not documented | CVE Program |
| Microsoft | azl3 erlang 26.2.5.21-4 on Azure Linux 3.0 | Not documented | 26.2.5.21-6 | Microsoft MSRC |
| Microsoft | azl3 erlang 26.2.5.21-6 on Azure Linux 3.0 | Not documented | 26.2.5.21-6 | Microsoft MSRC |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Fix commit aba0fe8 in erlang/otp (opens in a new tab)patch
- Fix commit e3be1cf in erlang/otp (opens in a new tab)patch
- https://github.com/erlang/otp/security/advisories/GHSA-9vgh-c8cm-m9p4 (opens in a new tab)related, vendor-advisory
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- EEF CNA record for CVE-2026-70409 (opens in a new tab)related
- Introducing commit d8dbf15 in erlang/otp (opens in a new tab)related
- OSV record EEF-CVE-2026-70409 (opens in a new tab)related
- Erlang/OTP version ordering (opens in a new tab)x_version-scheme