CVE-2026-59696
Medium 6.9No known exploitationFix availableuri_string does not bound the port component of a URI 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 stdlib allows a remote attacker to degrade availability by supplying a URI whose port component is a very long run of digits. uri_string:get_port/1 passes the port substring to binary_to_integer/1 with no length bound, catching only error:badarg, so a syntactically valid port of up to roughly 1.26 million digits converts successfully and costs the calling process hundreds of milliseconds of arbitrary-precision arithmetic. The conversion is reached from every authority-parsing path in uri_string:parse/1, including the host, registered-name, and IPv4 and IPv6 forms. parse/1 is the documented interface for parsing URIs, so any application that parses an attacker-supplied URI is exposed without further configuration. The conversion function is documented to accept integers of any size, so bounding the input is the caller's responsibility. This issue affects OTP from OTP 21.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to stdlib from 3.5 before 6.2.2.5, 7.3.0.2, and 8.0.4.
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 | 21.0 | Not documented | CVE Program |
| Erlang | OTP | 29a9dd0e17a97a3e6e46f0d08c6ba8f31db33f5e | Not documented | CVE Program |
| Erlang | OTP | 3.5 | 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 |
| Microsoft | azl4 erlang 26.2.5.21-14.azl4 on Azure Linux 4.0 | Not documented | 0:26.2.5.21-18.azl4 | 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-8qw4-2chm-mvj2 (opens in a new tab)vendor-advisory
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- EEF CNA record for CVE-2026-59696 (opens in a new tab)related
- Introducing commit 29a9dd0 in erlang/otp (opens in a new tab)related
- OSV record EEF-CVE-2026-59696 (opens in a new tab)related
- Erlang/OTP version ordering (opens in a new tab)x_version-scheme