Regular expression denial of service in Addressable template matching
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-1333.
Summary
The addressable Ruby gem from 2.3.0 before 2.9.1 is affected. URI template expressions with several exploded variables generate ambiguous regular expressions (CWE-1333), so matching can take polynomial time. A remote attacker who supplies a crafted URI to Template#match or Template#extract can consume a thread and cause a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sporkmonger | addressable | 2.3.0 to before 2.9.1 | 2.9.1 | Patch available | CNA |
- addressable Vendorsporkmonger Affected 2.3.0 to before 2.9.1 Fixed in 2.9.1 Patch available CNA
Remediation
Upgrade addressable to version 2.9.1, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA addressable (sporkmonger) Fixed in 2.9.1
Timeline
- 2026-11-12 Threatist record created from CVE-2026-126353
References
More sporkmonger vulnerabilities
- TI-2026-91041 Regular expression denial of service in Addressable URI templates CVSS 3.1MEDIUM 5.9
- TI-2026-91040 Denial of service in Addressable URI path normalization CVSS 3.1MEDIUM 5.9
- TI-2026-91039 Addressable: Denial of Service in exploded template expressions CVSS 3.1MEDIUM 5.9
- TI-2026-91043 Addressable normalizes some dotted path segments to the wrong path CVSS 3.1MEDIUM 4.8
- TI-2026-91036 Addressable display_uri shows misleading hosts for invalid Punycode A-labels CVSS 3.1MEDIUM 4.3
- TI-2026-91037 Misleading hostnames in Addressable display_uri from bidi characters CVSS 3.1LOW 3.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences