# CVE-2026-70409: eldap does not bound the port component of a referral URL before integer conversion

- Severity: Medium 6.3 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-02)
- Published: 2026-09-01T14:51:00.770Z
- Modified: 2026-11-25T06:30:32.966Z
- Also known as: EEF-CVE-2026-70409, GHSA-9vgh-c8cm-m9p4
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- eldap: from 1.0.3 before *
- otp: from 17.0 before *
- erlang/otp: from d8dbf15de4fa1a08b9a05e7d8e08fdb025fe1dc3 before *
- https://github.com/erlang/otp: from d8dbf15de4fa1a08b9a05e7d8e08fdb025fe1dc3 before aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d; before e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa

## Every score

- EEF: CVSS:4.0 6.3 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-9vgh-c8cm-m9p4> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-70409.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-70409> (related)
- <https://www.erlang.org/doc/system/versions.html#order-of-versions> (web)
- <https://github.com/erlang/otp/commit/d8dbf15de4fa1a08b9a05e7d8e08fdb025fe1dc3> (related, web)
- <https://github.com/erlang/otp/commit/aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d> (fix, patch)
- <https://github.com/erlang/otp/commit/e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa> (fix, patch)

## Sources

- CVE List: [CVE-2026-70409](https://www.cve.org/CVERecord?id=CVE-2026-70409), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-70409](https://osv.dev/vulnerability/EEF-CVE-2026-70409), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-70409](https://nvd.nist.gov/vuln/detail/CVE-2026-70409), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-70409 · Whole record: https://cve.day/CVE-2026-70409.json · Rebuilt by cve.day 2026-11-25T22:59:35.957Z
