Skip to main content

Addressable EUVDEUVD-2026-124730

| CVE-2026-126350 MEDIUM
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-11-12 security-advisories@github.com GHSA-j82w-28jv-3pmj
5.9
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint matching untrusted URIs via Template#match
  2. Delivery
    Craft sub-60-byte URI starting with operator leader (/ . ; ? &)
  3. Exploit
    Trigger catastrophic regex backtracking on MRI<3.2/JRuby
  4. Execution
    Thread pinned at 100% CPU for minutes
  5. Persist
    Repeat to exhaust worker pool
  6. Impact
    Denial 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

addressable 2.3.0, < 2.9.1

Affected Packages

rubygems addressable fix: 2.9.1

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

Vendor (github) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 12, 2026 - 23:03 EUVD
CVE Published
Nov 12, 2026 - 22:19 cve.org
MEDIUM 5.9

DescriptionCVE.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

EPSS Score
0.4%
Top 63% exploitable
Prevalence
High
extremely common Ruby gem, transitive dependency of many popular libraries
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ruby

View all
CVE-2017-17405 HIGH POC
8.8 Dec 15

Ruby before 2.4.3 allows Net::FTP command injection. Rated high severity (CVSS 8.8), this vulnerability is remotely expl

CVE-2017-17790 CRITICAL POC
9.8 Dec 20

The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injectio

CVE-2017-14064 CRITICAL POC
9.8 Aug 31

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

CVE-2016-2336 CRITICAL POC
9.8 Jan 06

Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Rated critical severi

CVE-2026-77602 CRITICAL POC
9.9 Sep 23

Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in

CVE-2026-44266 CRITICAL POC
9.8 Nov 03

Ruby code execution in Elo (npm @enspirit/elo) through 1.0.0 lets an attacker who controls Elo source gain arbitrary Rub

CVE-2016-2337 CRITICAL POC
9.8 Jan 06

Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2016-2339 CRITICAL POC
9.8 Jan 06

An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Rub

CVE-2017-9225 CRITICAL POC
9.8 May 24

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

CVE-2026-27614 CRITICAL POC
9.3 Feb 25

Stored XSS in Bugsink error tracking tool before 2.0.13 allows unauthenticated attackers to inject persistent scripts th

CVE-2017-0898 CRITICAL POC
9.1 Sep 15

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

CVE-2013-4164 MEDIUM POC
6.8 Nov 23

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy