Skip to main content

Addressable CVE-2026-141526

| EUVDEUVD-2026-140736 MEDIUM
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-12-01 GitHub_M GHSA-xfg6-27c4-wr4r
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Identify endpoint using Addressable Template#match/#extract
  2. Delivery
    Submit crafted URI with adjacent exploded-variable pattern
  3. Exploit
    Trigger polynomial regex backtracking on MRI<3.3/JRuby
  4. Execution
    Exhaust CPU on matching thread
  5. Impact
    Denial of service / resource exhaustion

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

Exploitation requires that the target application call Addressable::Template#match or Template#extract on attacker-supplied URI input against a vulnerable template shape - specifically an exploded variable adjacent to other variables or an exploded expression directly before another expression (e.g. {a*}{.a*,b*,c}, {.a*,b*,c}, {?a*,b,c*}, {a*,b,c}-). It is further gated by the Ruby runtime: exploitable on MRI Ruby < 3.2 and JRuby (the advisory confirms MRI 2.7/3.1 and JRuby 9.4 vulnerable), while MRI Ruby 3.2+/3.3+ and TruffleRuby 40.0 are not affected by this issue. Limiting factors: applications that use only Addressable's URI parsing, or that only call Template#expand, are unaffected; AC:H reflects dependence on both the specific template/input shape and the Ruby engine's backtracking behavior. Documented mitigations per the vendor are upgrading to 2.10.0 (the fix, though two polynomial cases remain on MRI < 3.3, JRuby and TruffleRuby), upgrading to MRI Ruby 3.3+ where JRuby is not used, bounding user-supplied URI length, and wrapping match/extract in a Timeout (noted as not safe in every application).

Impact

This is a regular-expression denial-of-service (CWE-1333) with a moderate CVSS of 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) - network-reachable and unauthenticated (PR:N), but with high attack complexity (AC:H) and availability-only impact (A:H; C:N/I:N). The multi-source signals are consistent and point to a genuine but non-urgent issue: SSVC records Exploitation: none, Automatable: no, Technical Impact: partial, and the vuln.today priority is 'this_month' rather than act_now or emergency. There is no CISA KEV listing and no EPSS score was supplied, so exploitation probability cannot be quantified from the input. No public exploit identified at time of analysis - the only references are the GHSA advisory, the fix commit, and the release, which contain illustrative vulnerable template shapes and timing figures but not packaged exploit code. The AC:H rating is well supported by the evidence: exploitability is conditional on the application using Template#match/#extract with attacker-controlled URIs against specific template shapes, and on the Ruby runtime (MRI < 3.2/<3.3, JRuby; MRI 3.2+ and TruffleRuby 40.0 are not affected by this issue), rather than on any attacker-controlled race or memory grooming. Net: a real but priority-tier (not emergency) availability issue whose practical risk is gated by application design and Ruby version, not a high-CVSS-but-illusory finding nor a drop-everything emergency.

Exploit ScenarioDerived

An application that passes user-supplied URIs to Addressable::Template#match or #extract against a vulnerable template (an exploded variable adjacent to other variables, e.g. {a*}{.a*,b*,c}) is targeted by an attacker who submits a crafted URI string. On MRI Ruby before 3.2/3.3 or JRuby, the generated regular expression backtracks polynomially - the advisory measured over 6 seconds (MRI 2.7) and over 15 seconds (JRuby) to reject ~800 bytes - tying up a worker thread and degrading or denying service. No confirmed public exploit code exists; the advisory provides example templates and timing but not a working exploit.

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

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Polynomial-time regular expression backtracking in the Addressable Ruby gem's URI template matcher (Template#match and Template#extract) lets a crafted URI drive uncontrolled CPU consumption and denial of service. Applications are exposed only if they pass attacker-controlled URI strings into template matching against vulnerable template shapes - exploded variables sitting next to other variables, or an exploded expression immediately before another expression - and only when running on a Ruby engine that backtracks without memoization, specifically MRI Ruby below 3.2 and JRuby (the advisory confirms MRI 2.7, MRI 3.1 and JRuby 9.4 as vulnerable, while MRI 3.2/3.3/4.0 and TruffleRuby 40.0 are not affected by this issue). Addressable versions 2.3.0 through 2.9.2 are in scope and version 2.10.0 is the vendor-released fix; no public exploit code and no active exploitation have been reported (CISA SSVC exploitation: none, automatable: no), and code that only uses Addressable's URI parsing or Template#expand is unaffected.

RemediationAI

Upgrade Addressable to 2.10.0 or later (release notes: https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0, fix commit 576662e4791df3cfd17c944041a98f516d3c0734, advisory https://github.com/sporkmonger/addressable/security/advisories/GHSA-xfg6-27c4-wr4r). Be aware that 2.10.0 does not eliminate every polynomial case: templates combining an exploded variable or several variables in one expression with other expressions (for example {+c*,d}{&b}.{b}), and templates where a processor's match method assigns a variable its own pattern, can still run in polynomial time on MRI Ruby below 3.3, JRuby and TruffleRuby. Documented vendor workarounds where upgrading is not immediately possible: move to MRI Ruby 3.3 or later if the application does not use JRuby; avoid matching user-supplied input against templates that place an exploded variable with another variable in the same expression or place an exploded expression directly before another expression; bound the length of user-supplied URIs before matching, which only limits rather than removes the polynomial cost but works on every runtime; and wrap Template#match/Template#extract calls that handle untrusted data in a short Timeout.timeout, accepting that it interrupts the matching thread at an arbitrary point and is therefore not safe in every application.

Affected VersionsENISA

addressable 2.3.0, < 2.10.0

Affected Packages

rubygems addressable fix: 2.10.0

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 provides an alternative implementation of Ruby's standard-library URI handling, including an RFC 6570 URI template engine that compiles templates into regular expressions used by Template#match and Template#extract. The root cause is CWE-1333 (Inefficient Regular Expression Complexity): for certain template shapes the generated expression leaves the division of a run of comma-joined members among multiple variables combinatorially open, so the matching engine explores a polynomial number of splits. The advisory enumerates four such shapes - an exploded expression directly before an expression containing exploded variables (e.g. {a*}{.a*,b*,c}, cubic in input length), several exploded variables in a '.' or default expression ({.a*,b*,c} quadratic, {c*,d*,a*} cubic), an unexploded variable between exploded ones in a '?' or '&' expression ({?a*,b,c*}, quadratic in the number of members), and an exploded variable followed by unexploded ones in '/', '.' or default expressions ({a*,b,c}-, quadratic). Exploitability depends on the runtime's regex engine: MRI Ruby below 3.2 and JRuby backtrack without memoization and are vulnerable, whereas MRI Ruby 3.2+ and TruffleRuby 40.0 memoize or do not backtrack for these expressions. With Addressable 2.9.2, {a*}{.a*,b*,c} took over 6 seconds to reject 800 bytes on MRI 2.7 and over 15 seconds on JRuby. The 2.10.0 fix rewrites matching to run in linear time on non-memoizing engines by handling exploded members explicitly, but the vendor documents two residual exceptions that can still be polynomial on MRI below 3.3, JRuby and TruffleRuby: processors whose match method supplies a variable's own pattern, and templates combining an exploded variable or several variables in one expression with other expressions (e.g. {+c*,d}{&b}.{b}).

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

Vendor (GitHub_M) 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

URI arrives over the network (AV:N) without auth (PR:N) or interaction, but success depends on vulnerable template shape plus an affected Ruby runtime (AC:H); impact is availability-only (A:H, C/I:N).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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
Dec 01, 2026 - 22:03 EUVD
CVE Published
Dec 01, 2026 - 20:59 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.10.0, Addressable URI templates with exploded variables adjacent to other variables generate ambiguous regular expressions that can backtrack polynomially on MRI Ruby before 3.2 and JRuby. Calling Template#match or Template#extract with a crafted URI can cause uncontrolled resource consumption and denial of service. The remediation does not cover processor-supplied variable patterns or certain templates that combine exploded or multi-variable expressions with other expressions, which can remain polynomial on MRI Ruby before 3.3, JRuby, and TruffleRuby. This issue is fixed in version 2.10.0.

Threat Intelligence Overview

EPSS Score
0.8%
Top 41% exploitable
Prevalence
High
widely-used Ruby gem, a dependency of many libraries and applications
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.8%
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
Medium
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
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.

CVE-2026-35611 HIGH
7.5 Apr 07

Regular expression denial of service (ReDoS) in the Addressable Ruby library versions 2.3.0 through 2.8.x allows unauthe

CVE-2021-32740 HIGH
7.5 Jul 06

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Rated hi

CVE-2026-141528 MEDIUM
5.9 Dec 01

Regular expression denial of service in the Addressable Ruby gem (2.3.0 through 2.9.2) allows crafted URIs to force exce

CVE-2026-141527 MEDIUM
5.9 Dec 01

Polynomial backtracking in Addressable's URI template matching lets a crafted URI drive Template#match or Template#extra

CVE-2026-141525 MEDIUM
5.9 Dec 01

Polynomial-time regular-expression backtracking in the Addressable Ruby gem (2.9.1 through 2.9.2) lets unauthenticated r

CVE-2026-141539 MEDIUM
4.8 Dec 01

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

CVE-2026-141538 MEDIUM
4.8 Dec 01

Addressable, the Ruby URI library, fails to reject or percent-encode host-changing delimiters in the userinfo component:

CVE-2026-141529 LOW
3.7 Dec 01

Denial of service in the Addressable Ruby gem 2.9.1 through 2.9.x lets unauthenticated remote attackers consume excessiv

CVE-2026-141524 LOW
3.7 Dec 01

Addressable, the Ruby URI and RFC 6570 template library, takes the variable name in an unexploded ';', '?', or '&' templ

CVE-2026-141535 LOW
3.7 Dec 01

SSRF filter bypass in the Addressable Ruby gem (2.3.5 through 2.9.2) lets an attacker-supplied URL pass a destination ch

CVE-2026-141537 LOW
3.7 Dec 01

Quadratic-time Unicode normalization in the Ruby Addressable gem (2.0.0 through 2.9.2) lets remote attackers burn CPU on

CVE-2026-141536 LOW
3.7 Dec 01

Addressable's URI#request_uri (versions 2.1.2 through 2.9.2) returns the path and query verbatim, so stored control char

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