CVE-2026-141529
Addressable::Template builds its regexp in quadratic time for patterns with non-ASCII characters
- Severity
- low CVSS 3.7 (v3.1)
- Affects
- addressable · sporkmonger
- Weakness
- CWE-407: Inefficient Algorithmic Complexity
- Published
- 1 December 2026 by GitHub_M
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.9.1 until 2.10.0, Addressable::Template builds its cached regular expression in quadratic time when an untrusted template pattern contains non-ASCII text or a long run of adjacent expressions. Operations that compile or inspect such templates, including match, extract, to_regexp, variables, variable_defaults, and freeze, can consume excessive CPU and cause denial of service. This issue is fixed in version 2.10.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.