cve.bz

CVE-2026-59696 uri_string does not bound the port component of a URI before integer conversion

6.9 mediumEPSS 0.6%Fix available

Medium (6.9) in erlang otp. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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
EPSS
0.6% (down from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Erlang OTP: fixed in 6.2.2.5
  • Erlang OTP: fixed in 7.3.0.2
  • Erlang OTP: fixed in 8.0.4
  • Erlang OTP: fixed in 27.3.4.17
  • Erlang OTP: fixed in 28.5.0.6
  • Erlang OTP: fixed in 29.0.6
  • Debian, Ubuntu, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-59696 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-59696?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-59696?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-59696 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Erlang OTP3.5 and later
Erlang OTP21.0 and later

Fixed in

ProductFixed in
Erlang OTP6.2.2.5
Erlang OTP7.3.0.2
Erlang OTP8.0.4
Erlang OTP27.3.4.17
Erlang OTP28.5.0.6
Erlang OTP29.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12erlangno fix listedDEBIAN-CVE-2026-59696
Debian13erlang1:27.3.4.1+dfsg-1+deb13u4DEBIAN-CVE-2026-59696 DSA-6580-1
Debian14erlang1:29.0.6+dfsg-1DEBIAN-CVE-2026-59696
Ubuntu22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.7UBUNTU-CVE-2026-59696
Ubuntu24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.7UBUNTU-CVE-2026-59696
Ubuntu26.04:LTSerlang1:27.3.4.6+dfsg-1ubuntu0.1UBUNTU-CVE-2026-59696
UbuntuPro:20.04:LTSerlang1:22.2.7+dfsg-1ubuntu0.5+esm2UBUNTU-CVE-2026-59696
Azure Linux3erlang26.2.5.21-6AZL-98457

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Product Security has determined that Erlang/OTP versions shipped in hummingbird-1 (version 27.3.4.19) and openstack-13 (version 18.3.4.11) are not affected by this vulnerability. The hummingbird-1 version includes the fix (>= 27.3.4.17), and openstack-13 ships a version (18.x) that predates the introduction of the vulnerability in OTP 21.0. The remaining OpenStack releases (16.2, 17.1, 18.0) ship affected versions but the impact is limited to a temporary denial of service requiring attacker-controlled URI input.

Red Hat's mitigation

Applications can mitigate this vulnerability by validating URI port lengths before passing them to uri_string:parse/1, or by upgrading to patched Erlang/OTP versions: 27.3.4.17+, 28.5.0.6+, or 29.0.6+.

ProductPackageStateAdvisory
Red Hat Hardened Imageserlang27Under investigation
Red Hat OpenStack Platform 13 (Queens)erlangUnder investigation
Red Hat OpenStack Platform 16.2erlangFix deferred
Red Hat OpenStack Platform 17.1erlangFix deferred
Red Hat OpenStack Platform 18.0erlangFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-59696.

References

Check your stackJSON