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 can generate ambiguous regular expressions when a multi-variable expression is followed by comma-capable text, a variable name repeats within one expression, or adjacent expressions include one with several variables. Calling Template#match or Template#extract with a crafted URI can trigger excessive backtracking and denial of service on MRI Ruby before 3.2 and JRuby. MRI Ruby 3.2 and TruffleRuby 40.0 are additionally affected by the first two shapes, while MRI Ruby 3.3 and later is unaffected. The remediation does not cover processor-supplied variable patterns or certain combined exploded or multi-variable expression shapes that remain polynomial. This issue is fixed in version 2.10.0.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 01 Dec 2026 21:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 can generate ambiguous regular expressions when a multi-variable expression is followed by comma-capable text, a variable name repeats within one expression, or adjacent expressions include one with several variables. Calling Template#match or Template#extract with a crafted URI can trigger excessive backtracking and denial of service on MRI Ruby before 3.2 and JRuby. MRI Ruby 3.2 and TruffleRuby 40.0 are additionally affected by the first two shapes, while MRI Ruby 3.3 and later is unaffected. The remediation does not cover processor-supplied variable patterns or certain combined exploded or multi-variable expression shapes that remain polynomial. This issue is fixed in version 2.10.0. | |
| Title | Addressable: Regular Expression Denial of Service in Addressable templates with several variables | |
| Weaknesses | CWE-1333 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-12-01T21:02:48.922Z
Reserved: 2026-12-01T20:36:11.694Z
Link: CVE-2026-141528
No data.
Status : Awaiting Analysis
Published: 2026-12-01T21:17:12.670
Modified: 2026-12-01T21:17:12.800
Link: CVE-2026-141528
No data.
OpenCVE Enrichment
No data.
Weaknesses