Addressable: Regular Expression Denial of Service in Addressable templates with exploded variables next to other variables
- CVE-2026-141526
- GHSA-xfg6-27c4-wr4r
- EUVD-2026-140736
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 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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
sporkmonger addressable
Affected versions Fixed in >= 2.3.0, < 2.10.0 none stated addressableRubyGems
Affected versions Fixed in from 2.3.0 up to 2.9.2 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.