Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint matching untrusted URIs via Template#match
-
DeliveryCraft sub-60-byte URI starting with operator leader (/ . ; ? &)
-
ExploitTrigger catastrophic regex backtracking on MRI<3.2/JRuby
-
ExecutionThread pinned at 100% CPU for minutes
-
PersistRepeat to exhaust worker pool
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concrete prerequisites must all hold. (1) The application must call Addressable::Template#match or Template#extract on attacker-controlled input - applications that only parse URIs or only call Template#expand are explicitly unaffected. (2) The template must use the explode modifier '*' together with one of the /, ., ;, ?, or & operators (e.g. {/segments*}, {.ext*}, {;params*}, {?query*}, {&query*}). (3) The Ruby runtime must be one whose regex engine backtracks without memoization - confirmed MRI Ruby < 3.2 or JRuby 9.4; the attacker-supplied URI must begin with the operator's leading character to reach the vulnerable path. Limiting factors that reduce real-world risk: MRI Ruby 3.2+ and TruffleRuby 40.0 are not affected at all (so patched-runtime deployments are immune even on vulnerable library versions), no authentication is required (PR:N) but the specific template/API usage is non-default application behavior, and impact is confined to availability. |
| Impact | This is a moderate-severity, availability-only ReDoS (CWE-1333) with CVSS 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H). The high-value signals point to real-but-bounded risk rather than a top-priority emergency: there is no CISA KEV listing (not confirmed actively exploited), no EPSS score was provided in the input, and no verified working exploit code is referenced - only the original 2019 bug report (issue #364), the fix commit, the release, and the GHSA advisory. The vuln.today decision label is 'this_month', consistent with a serious issue to schedule rather than an act_now/emergency. The AC:H rating is corroborated by the evidence: exploitation is conditional, not universal - it only triggers on regex engines without match memoization (MRI Ruby < 3.2 and JRuby; MRI >= 3.2 and TruffleRuby 40.0 are confirmed NOT affected), and only when the application actually calls Template#match or Template#extract on attacker-controlled input against a template using the explode (*) modifier with the /, ., ;, ?, or & operators. Mitigating the impact: confidentiality and integrity are untouched (C:N/I:N); only availability is affected. Aggravating the impact: the advisory states an input under 60 bytes can occupy a thread for minutes, so a single small request yields disproportionate CPU/thread exhaustion. Net: a genuine denial-of-service priority for Ruby services on affected runtimes that match untrusted URIs, but not a mass-exploitation, code-execution-class crisis. Note this is a re-break - 2.9.0 was believed to fully fix GHSA-h27x-rffw-24p4 (CVE-2026-35611) but its tests never reached the operator-prefixed paths, so 2.9.0 remains vulnerable. |
| Exploit ScenarioDerived | An attacker sends a short (under 60 bytes) crafted URI beginning with a template operator's leading character (e.g. a string starting with '/', '.', ';', '?' or '&') to a Ruby web service that passes untrusted input into Addressable::Template#match or #extract against a template using the explode modifier. On MRI Ruby < 3.2 or JRuby, the ambiguous generated regex backtracks catastrophically, pinning a thread at 100% CPU for minutes per request and exhausting the worker pool, producing denial of service. No verified public exploit code is referenced, though the advisory describes the trigger and size threshold; no authentication is required to submit the URI (PR:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Catastrophic backtracking in Addressable's URI template matching lets remote attackers stall a Ruby process by supplying a crafted URI to Template#match or Template#extract when the template uses the explode modifier with the /, ., ;, ? or & operator. Addressable versions 2.3.0 through 2.9.0 are affected, but only on runtimes whose regex engine backtracks without memoization - confirmed on MRI Ruby 2.7 and 3.1 and on JRuby 9.4, while MRI Ruby 3.2+ and TruffleRuby 40.0 are immune because they memoize backtracking. No authentication is required (CVSS PR:N) and an input under 60 bytes is enough to occupy a thread for minutes; no public exploit code was identified at time of analysis and there is no CISA KEV entry, with impact limited to availability.
RemediationAI
Vendor-released patch: 2.9.1 - upgrade the addressable gem to 2.9.1 or later (release notes at https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1, fix commit at https://github.com/sporkmonger/addressable/commit/26d1e9e8409a861571f9d0029022b6e9b9158b5e). Where upgrading is not immediately possible, the vendor documents three workarounds: upgrade the runtime to MRI Ruby 3.2 or later, which memoizes backtracking so these patterns match in linear time (this does not help if the application also runs on JRuby, which remains vulnerable); avoid matching user-supplied input on unpatched library versions against templates that use the * modifier with the /, ., ;, ? or & operators, which removes the affected feature path but requires auditing every template definition; or wrap any call to Template#match or Template#extract that processes user-supplied data in a short timeout, which bounds thread occupancy at the cost of dropping or failing legitimate slow matches. Applications that only use Addressable's URI parsing or only call Template#expand are unaffected and need no mitigation.
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
Addressable is an alternative URI implementation for Ruby, and its URI-template support compiles RFC 6570 expressions into regular expressions. The flaw is a regular expression denial of service (CWE-1333): for exploded members joined by /, ., ;, ? or &, the generated expression separated each member with an optional joiner, so a run of characters could be partitioned into members in exponentially many ways. On regex engines without match memoization this backtracks catastrophically. The root cause also explains why the earlier fix (GHSA-h27x-rffw-24p4 / CVE-2026-35611) in 2.9.0 was incomplete: it only made the joiner mandatory for templates without an operator, and its regression specs never used inputs beginning with the operator's leading character, so the operator-prefixed paths were never exercised. The upstream commit 26d1e9e makes the joiner between exploded members mandatory and rewrites the ;, ? and & member patterns so each character can belong to only one member, leaving match results unchanged. Only Template#match and Template#extract are affected; URI parsing and Template#expand are not.
Know when Ruby 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:H
Remotely reachable via the URI with no auth (AV:N/PR:N/UI:N), but AC:H because it only triggers on specific vulnerable runtimes and specific explode-operator template usage; availability-only impact (C:N/I:N/A:H).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.0 until 2.9.1, URI template expressions using the explode modifier with the slash, dot, semicolon, question-mark, or ampersand operators generate ambiguous regular expressions. When Template#match or Template#extract processes an attacker-controlled URI beginning with the operator's leading character, optional member separators allow catastrophic backtracking and denial of service on MRI Ruby before 3.2 and JRuby. Addressable 2.9.0 incompletely remediated the earlier template issue because its tests did not reach these operator-prefixed paths. URI parsing and Template#expand are unaffected. This issue is fixed in version 2.9.1.
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.
Ruby before 2.4.3 allows Net::FTP command injection. Rated high severity (CVSS 8.8), this vulnerability is remotely expl
The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injectio
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call
Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Rated critical severi
Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in
Ruby code execution in Elo (npm @enspirit/elo) through 1.0.0 lets an attacker who controls Elo source gain arbitrary Rub
Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Rated critical severity (CVSS 9.8), this vulnerabilit
An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Rub
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7
Stored XSS in Bugsink error tracking tool before 2.0.13 allows unauthenticated attackers to inject persistent scripts th
Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) w
Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and tru
EUVD-2026-124730
GHSA-j82w-28jv-3pmj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB