Addressable: Regular Expression Denial of Service in Addressable templates with several exploded variables
- State
- Published
- Severity
- 5.9 Medium
- Published
- Nov 12, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 10, 2026
Description
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 containing several exploded variables generate ambiguous regular expressions that can divide a run of members among the variables in polynomially many ways. Template#match or Template#extract processing of an attacker-controlled URI can therefore consume a thread and cause denial of service. The flaw affects MRI Ruby before 3.2 and JRuby, TruffleRuby 40.0, and plus or number-sign expressions on MRI Ruby 3.2. MRI Ruby 3.3 and later, URI parsing, and Template#expand are unaffected. This issue is fixed in version 2.9.1.
| Product | Versions |
|---|---|
| addressable sporkmonger | >= 2.3.0, < 2.9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | GitHub_M |
Weaknesses
- CWE-1333 Inefficient Regular Expression Complexity
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.