{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["uri_string"],"packageName":"otp","packageURL":"pkg:sid/erlang.org/otp","product":"OTP","programFiles":["lib/stdlib/src/uri_string.erl"],"programRoutines":[{"name":"uri_string:get_port/1"},{"name":"uri_string:parse/1"}],"vendor":"Erlang","versions":[{"lessThan":"27.3.4.17","status":"affected","version":"21.0","versionType":"otp"},{"lessThan":"28.5.0.6","status":"affected","version":"28.0","versionType":"otp"},{"lessThan":"29.0.6","status":"affected","version":"29.0","versionType":"otp"}]},{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["uri_string"],"packageName":"stdlib","packageURL":"pkg:otp/stdlib","product":"OTP","programFiles":["src/uri_string.erl"],"programRoutines":[{"name":"uri_string:get_port/1"},{"name":"uri_string:parse/1"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"lessThan":"6.2.2.5","status":"affected","version":"3.5","versionType":"otp"},{"lessThan":"7.3.0.2","status":"affected","version":"7.0","versionType":"otp"},{"lessThan":"8.0.4","status":"affected","version":"8.0","versionType":"otp"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["uri_string"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["lib/stdlib/src/uri_string.erl"],"programRoutines":[{"name":"uri_string:get_port/1"},{"name":"uri_string:parse/1"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"changes":[{"at":"aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d","status":"unaffected"},{"at":"e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa","status":"unaffected"}],"lessThan":"*","status":"affected","version":"29a9dd0e17a97a3e6e46f0d08c6ba8f31db33f5e","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.17","versionStartIncluding":"21.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.6","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.0.6","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Eric Meadows-Jönsson"},{"lang":"en","type":"finder","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"finder","value":"José Valim"},{"lang":"en","type":"remediation developer","value":"Konrad Pietrzak / Ericsson"},{"lang":"en","type":"analyst","value":"Ingela Anderton Andin"},{"lang":"en","type":"analyst","value":"Dan Gudmundsson"},{"lang":"en","type":"analyst","value":"John Högberg"},{"lang":"en","type":"analyst","value":"Rickard Green"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>\n<p><code>uri_string:get_port/1</code> passes the port substring to <code>binary_to_integer/1</code> with no length bound, catching only <code>error:badarg</code>, 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 <code>uri_string:parse/1</code>, including the host, registered-name, and IPv4 and IPv6 forms. <code>parse/1</code> 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.</p>\n<p>This issue affects OTP from OTP&nbsp;21.0 before OTP&nbsp;27.3.4.17, from OTP&nbsp;28.0 before OTP&nbsp;28.5.0.6, and from OTP&nbsp;29.0 before OTP&nbsp;29.0.6, corresponding to stdlib from 3.5 before 6.2.2.5, from 7.0 before 7.3.0.2, and from 8.0 before 8.0.4.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\n`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.\n\nThis issue affects OTP from OTP 21.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to stdlib from 3.5 before 6.2.2.5, from 7.0 before 7.3.0.2, and from 8.0 before 8.0.4."}],"value":"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.\n\nuri_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.\n\nThis issue affects OTP from OTP 21.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to stdlib from 3.5 before 6.2.2.5, from 7.0 before 7.3.0.2, and from 8.0 before 8.0.4."}],"impacts":[{"capecId":"CAPEC-231","descriptions":[{"lang":"en","value":"CAPEC-231 Oversized Serialized Data Payloads"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1284","description":"CWE-1284 Improper Validation of Specified Quantity in Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-01T14:37:33.697Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-8qw4-2chm-mvj2"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-59696.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-59696"},{"tags":["x_version-scheme"],"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa"}],"source":{"discovery":"EXTERNAL"},"title":"uri_string does not bound the port component of a URI before integer conversion"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-59696","datePublished":"2026-09-01T14:37:33.697Z","dateReserved":"2026-07-06T14:05:47.003Z","dateUpdated":"2026-09-01T14:37:33.697Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}