Skip to main content
EPSS 0.7%top 48%

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

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

Description

CVE-2026-59696 is a medium severity vulnerability in Erlang/OTP's stdlib where improper validation of the port component in a URI allows a remote attacker to degrade service availability. The vulnerability arises because the function uri_string:get_port/1 converts a very long numeric port string to an integer without length bounds, causing excessive CPU consumption. This affects all applications parsing attacker-supplied URIs using uri_string:parse/1. The issue impacts OTP versions from 21.0 up to but not including 27.3.4.17, 28.0 up to 28.5.0.6, and 29.0 up to 29.0.6, as well as corresponding stdlib versions. No exploits are known in the wild, and no explicit patch links are provided in the data.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
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:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

Erlang

OTP

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

Erlang

OTP

Affected versions
>=3.5 <6.2.2.5>=7.0 <7.3.0.2>=8.0 <8.0.4

Erlang

OTP

GitHub Actionsmore threats →cve
stdlib
pkg:github/stdlib
Affected versions
>=3.5 <6.2.2.5>=7.0 <7.3.0.2>=8.0 <8.0.4
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:22:12 UTC

Technical Analysis

The vulnerability in Erlang/OTP stdlib involves improper validation of the port substring in URIs parsed by uri_string:get_port/1. This function passes the port substring to binary_to_integer/1 without limiting input length, allowing syntactically valid but extremely long numeric ports (up to approximately 1.26 million digits) to be processed. This results in high CPU usage due to arbitrary-precision arithmetic, degrading the availability of the affected process. The vulnerability is reachable through all authority-parsing paths in uri_string:parse/1, which is the documented URI parsing interface, exposing any application that parses attacker-controlled URIs. Affected versions include OTP 21.0 before 27.3.4.17, OTP 28.0 before 28.5.0.6, OTP 29.0 before 29.0.6, and corresponding stdlib versions 3.5 before 6.2.2.5, 7.0 before 7.3.0.2, and 8.0 before 8.0.4.

Potential Impact

An attacker can supply a URI with an extremely long numeric port component, causing the vulnerable function to perform expensive arbitrary-precision integer conversion. This leads to significant CPU consumption and delays, degrading the availability of the Erlang process handling the URI parsing. There is no indication of privilege escalation, data disclosure, or code execution. The impact is limited to denial of service via resource exhaustion.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, applications should avoid parsing untrusted URIs or implement input validation to limit the length of the port component before passing it to uri_string:get_port/1. Monitoring and rate-limiting URI parsing requests may help reduce exposure.

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-07-06T14:05:47.003Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a96e6ecacd9273b49d71679

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

Last enriched: 09/15/2026, 01:22:12 UTC

Last updated: 10/15/2026, 06:48:17 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