Skip to main content
EPSS 0.6%top 54%

CVE-2026-70409: CWE-1284 Improper Validation of Specified Quantity in Input in Erlang OTP

0
Medium
Published: 09/01/2026 (09/01/2026, 14:51:00 UTC)
Source: CVE Database V5
Vendor/Project: Erlang
Product: OTP

Description

CVE-2026-70409 is a medium-severity vulnerability in Erlang/OTP's eldap module involving improper validation of the port component in LDAP referral URLs. A malicious or compromised LDAP server can supply a referral URL with an excessively long numeric port, causing the eldap:parse_port/2 function to perform costly arbitrary-precision integer conversions. This can degrade application availability by consuming significant processing time. The flaw affects multiple OTP versions from 17.0 up to but excluding patched versions 27.3.4.17, 28.5.0.6, and 29.0.6, as well as corresponding eldap library versions. Exploitation requires the application to pass server-supplied referrals to eldap:parse_ldap_url/1, which eldap itself does not call internally. No known exploits are reported in the wild.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Erlang

OTP

Affected versions
>=17.0 <27.3.4.17>=28.0 <28.5.0.6>=29.0 <29.0.6

Erlang

OTP

Affected versions
>=1.0.3 <1.2.14.2>=1.2.15 <1.2.16.1>=1.3 <1.3.1

Erlang

OTP

GitHub Actionsmore threats →cve
eldap
pkg:github/eldap
Affected versions
>=1.0.3 <1.2.14.2>=1.2.15 <1.2.16.1>=1.3 <1.3.1
GitHub Actionsmore threats →cve
erlang/otp
pkg:github/erlang/otp
CPE configurations
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 01:23:03 UTC

Technical Analysis

The vulnerability arises from eldap:parse_port/2 in Erlang/OTP eldap module, which converts the port substring from an LDAP referral URL to an integer without bounding its length. The function list_to_integer/1 accepts arbitrarily large integers, so a very long numeric port string (up to about 1.26 million digits) can be parsed successfully but causes significant CPU consumption due to arbitrary-precision arithmetic. This leads to a denial-of-service condition by degrading availability. The vulnerability affects OTP versions >=17.0 <27.3.4.17, >=28.0 <28.5.0.6, and >=29.0 <29.0.6, and eldap versions >=1.0.3 <1.2.14.2, >=1.2.15 <1.2.16.1, and >=1.3 <1.3.1. Exploitation requires the application to explicitly pass LDAP referral URLs to eldap:parse_ldap_url/1, which is not done internally by eldap. The vulnerability is tracked as CWE-1284 (Improper Validation of Specified Quantity in Input).

Potential Impact

An attacker controlling or compromising an LDAP server can supply a referral URL with an extremely long numeric port component. When the vulnerable eldap:parse_port/2 function processes this input, it performs expensive arbitrary-precision integer conversion, causing significant CPU usage and degrading the availability of the affected application. There is no direct code execution or data breach impact described. The impact is limited to denial-of-service via resource exhaustion.

Mitigation Recommendations

A fix is available in Erlang/OTP versions 27.3.4.17, 28.5.0.6, and 29.0.6 and corresponding eldap versions 1.2.14.2, 1.2.16.1, and 1.3.1. Users should upgrade to these fixed versions to remediate the vulnerability. Until patched, applications should avoid passing untrusted LDAP referral URLs to eldap:parse_ldap_url/1, as eldap does not call this function internally. Patch status is confirmed by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-08-09T16:30:01.576Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a96e6ebacd9273b49d71632

Added to database: 09/01/2026, 14:53:31 UTC

Last enriched: 09/15/2026, 01:23:03 UTC

Last updated: 10/17/2026, 18:48:21 UTC

Views: 79

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses