Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted URI with long combining-mark run
-
ExploitApplication normalizes/compares/matches it via Addressable
-
ExecutionPure-Ruby unicode_normalize runs in quadratic time
-
ImpactWorker CPU exhausted for seconds per request, denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | The application must pass attacker-controlled input through one of Addressable's normalizing code paths: URI#normalize and the normalized_* methods, URI#, URI#=, URI#display_uri, URI#route_from/#route_to, URI.normalized_encode, Template#expand/#match/#extract, or the pure-Ruby IDNA.to_ascii host processing. URI.parse alone does NOT normalize and is not affected, and host processing via the native libidn implementation is linear (not affected). The malicious input is a run of more than ~30 combining marks (literal or pct-encoded ASCII), with cost growing quadratically in run length. Key LIMITING factors: on Addressable 2.2.5-2.9.2 the issue only bites when the Ruby runtime's String#unicode_normalize still has the quadratic loop (Ruby 3.2 and earlier, 3.3.0-3.3.10, 3.4.0-3.4.7); Ruby 3.3.11, 3.4.8 and 4.0.0 remove it. Versions 2.0.0-2.2.4 are affected on every Ruby. No authentication is required per the CVSS PR:N, but a vulnerable method must be reachable with attacker input. Impact is availability-only (worker CPU exhaustion); no data exposure or modification. |
| Impact | All signals converge on a genuine but low-priority denial-of-service issue. The input CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) yields a 3.7 LOW score with availability-only, partial impact and no confidentiality or integrity effect, which matches CWE-407 (inefficient algorithmic complexity) and the SSVC reading of Technical Impact: partial. SSVC also records Exploitation: poc and Automatable: no, and the vendor/vuln.today Decision label is 'monitor' - these are consistent with each other and with the low CVSS. The 'Automatable: no' judgment is the decisive de-escalating signal: exploitation is not a sprayable mass attack because the application must actively route attacker-controlled text through a normalizing/comparing/matching Addressable method, and on versions >= 2.2.5 it additionally requires the Ruby runtime's String#unicode_normalize to still have the quadratic loop (Ruby 3.2 and earlier, 3.3.0-3.3.10, 3.4.0-3.4.7; fixed in 3.3.11, 3.4.8, 4.0.0). No EPSS score was supplied, so probabilistic exploitation likelihood cannot be compared here - STATE EXPLICITLY: EPSS is MISSING from the input. The CVE is NOT in CISA KEV, so there is no confirmed active exploitation. A public proof-of-concept is present (the GHSA advisory embeds a working demonstration/benchmark script), but a PoC that holds a worker for seconds is not the same as active in-the-wild exploitation, and the two must not be conflated. One worth-noting tension: I would rate the raw trigger complexity lower than the input's AC:H (see assessed vector) - the input's AC:H most plausibly encodes the Ruby-runtime/method-path dependency rather than any attacker-uncontrolled timing. Net: a real, legitimately-tracked availability bug that merits patching in a normal maintenance cycle, not an emergency. |
| Exploit ScenarioDerived | An attacker submits a request containing a URI (or URI component) with a long run of combining marks - which can be pure-ASCII pct-encoded, e.g. '%CC%80%CC%A4' repeated thousands of times - to an endpoint that normalizes, compares ( / =), displays, routes, or template-matches that URI with Addressable. The pure-Ruby normalization runs in time quadratic to the run length, so a ~16 kB path consumes roughly 2 seconds of CPU and longer inputs exceed a minute, tying up a worker per request. A working demonstration script is published in the GHSA advisory (it makes no network calls), but no active exploitation is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Quadratic-time Unicode normalization in the Ruby Addressable gem (2.0.0 through 2.9.2) lets remote attackers burn CPU on application workers by submitting URIs that contain long runs of combining marks, either literal or pct-encoded ASCII. Any code path that normalizes, compares, matches or template-expands attacker-supplied input is a candidate - URI#normalize and the normalized_* methods, #, #=, #display_uri, #route_from/#route_to, URI.normalized_encode, Template#expand/#match/#extract, and pure-Ruby IDNA.to_ascii host processing; URI.parse alone does not normalize and is unaffected. Impact is availability-only (the 16 kB example in the advisory costs roughly two seconds of CPU, longer inputs over a minute). Proof-of-concept code is published in the advisory and SSVC records exploitation as poc, but there is no KEV listing; on Addressable 2.2.5 and later the flaw only bites when the host Ruby's String#unicode_normalize is still quadratic (Ruby 3.2 and earlier, 3.3.0-3.3.10, 3.4.0-3.4.7), while 2.0.0-2.2.4 are affected on every Ruby.
RemediationAI
Upgrade to Addressable 2.10.0 (release tag addressable-2.10.0, commit 971be7cf4b484d4fed43dad57d5c8d967b5d08e6), which caps normalization at runs of 30 combining marks so all affected call sites stay linear on any Ruby. If a gem upgrade must be deferred and the deployment is on Addressable 2.2.5 or later, upgrading the Ruby runtime to 3.3.11, 3.4.8, 4.0.0 or later removes the quadratic String#unicode_normalize loop and closes the exposure without touching the gem, though it does nothing for Addressable 2.0.0-2.2.4. The advisory's alternative mitigations are to bound URI length before normalizing or to reject input containing a run of 31 or more combining marks - for example matching /\p{M}{31,}/ after percent-decoding - which mirrors the fixed behavior but shifts responsibility onto every application code path that normalizes, compares or template-matches URIs, and risks rejecting unusual but legitimate text if the threshold is set too low. Leaving URIs unnormalized (using URI.parse outputs directly) avoids the affected code paths but changes comparison and routing semantics, and switching IDNA host handling to the native libidn backend removes only the pure-Ruby host vector. Advisory: https://github.com/sporkmonger/addressable/security/advisories/GHSA-v6hg-69pc-4f3f.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in rubygems
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-407, an inefficient algorithm with super-linear cost. Ruby's String#unicode_normalize reorders a base character and the combining marks that follow it using a loop whose work grows quadratically with the number of marks, and Addressable historically handed attacker-controlled text straight to that method. Because the marks can be percent-encoded, a URI composed entirely of printable ASCII (for example a path of repeated %CC%80%CC%A4) triggers the same cost, so filtering on character encoding or requiring non-ASCII bytes does not help. The fix commit 971be7c adds lib/addressable/unicode_normalization.rb, which pre-scans for runs of more than 30 combining marks - the Stream-Safe Text Format limit from UAX #15 - splits them out, and normalizes only the surrounding text, keeping the operation linear on any Ruby; it also accounts for U+FF9E and U+FF9F, which NFKC/NFKD map onto combining marks U+3099 and U+309A. The vulnerable call sites replaced by that wrapper include URI.normalize_component (the basis for #normalize, the normalized_* accessors, #, #=, #display_uri and the route_from/route_to helpers), URI.normalized_encode, Template#normalize_value, and the pure-Ruby IDNA.to_ascii host path; the native libidn implementation of IDNA is linear and was never affected. Ruby itself addressed the quadratic loop in 3.3.11, 3.4.8 and 4.0.0, which is why the gem's exposure from 2.2.5 onward depends on the runtime version as well as the gem version.
Know when Addressable gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Remote unauthenticated attacker-controlled input (AV:N/PR:N/UI:N); the trigger is deterministic crafted input with no race or uncontrolled state, so AC:L; availability-only partial impact (A:L), no C/I.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.10.0, Addressable performs Unicode normalization on attacker-controlled input with quadratic complexity when it contains long runs of combining marks. URI normalization, comparison, display, routing, template operations, and host processing by the pure-Ruby IDNA implementation can consume excessive CPU time when they handle crafted input, resulting in denial of service. Starting with version 2.2.5, the issue affects only Ruby runtimes whose String#unicode_normalize implementation has quadratic complexity. This issue is fixed in version 2.10.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Addressable
View allRegular expression denial of service (ReDoS) in the Addressable Ruby library versions 2.3.0 through 2.8.x allows unauthe
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Rated hi
Regular expression denial of service in the Addressable Ruby gem (2.3.0 through 2.9.2) allows crafted URIs to force exce
Polynomial backtracking in Addressable's URI template matching lets a crafted URI drive Template#match or Template#extra
Polynomial-time regular expression backtracking in the Addressable Ruby gem's URI template matcher (Template#match and T
Polynomial-time regular-expression backtracking in the Addressable Ruby gem (2.9.1 through 2.9.2) lets unauthenticated r
Hostname filtering bypass in the Addressable Ruby URI library (versions 2.2.5 through 2.9.2, fixed in 2.10.0) causes a p
Addressable, the Ruby URI library, fails to reject or percent-encode host-changing delimiters in the userinfo component:
Denial of service in the Addressable Ruby gem 2.9.1 through 2.9.x lets unauthenticated remote attackers consume excessiv
Addressable, the Ruby URI and RFC 6570 template library, takes the variable name in an unexploded ';', '?', or '&' templ
SSRF filter bypass in the Addressable Ruby gem (2.3.5 through 2.9.2) lets an attacker-supplied URL pass a destination ch
Addressable's URI#request_uri (versions 2.1.2 through 2.9.2) returns the path and query verbatim, so stored control char
EUVD-2026-140764
GHSA-v6hg-69pc-4f3f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB