Addressable: Regular Expression Denial of Service
Affects addressableSource GCVE Database
Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.10.0 when convenient.
Data as of 2 Dec 2026, 00:19 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 2.10.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade addressable to 2.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsaddressable | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version of Addressable is available in 2.10.0 and should be applied. Upgrading to MRI Ruby 3.3 or later also mitigates the issue due to improved regex memoization. As workarounds, limit the length of user-supplied URIs before matching to bound resource use. On MRI Ruby 3.2, applying a timeout (e.g., Timeout.timeout) around Template#match or Template#extract calls can interrupt slow matches, though this is not safe in all applications. Setting Regexp.timeout on MRI Ruby 3.2 causes slow matches to raise Regexp::TimeoutError. On TruffleRuby, timeouts do not stop regex matching, so input length limiting is recommended. Users not using template matching are unaffected and require no action.
Description
Addressable versions 2.9.1 and 2.9.2 contain a Regular Expression Denial of Service (ReDoS) vulnerability affecting URI template matching on MRI Ruby 3.2 and TruffleRuby 40.0. The issue arises from new regular expressions with lookaround assertions that cause polynomial-time backtracking on these runtimes, leading to excessive resource consumption when processing maliciously crafted URIs. The vulnerability is fixed in Addressable 2.10.0, and MRI Ruby 3.3 and later are not affected due to improved regex memoization. Workarounds include upgrading Ruby, limiting input length, or applying timeouts on matching calls.
References
- github.com/sporkmonger/addressable/security/advisories/GHSA-jrfq-gw62-2f3j (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-141525 (opens in a new tab)
- github.com/sporkmonger/addressable/commit/576662e4791df3cfd17c944041a98f516d3c0734 (opens in a new tab)
- github.com/sporkmonger/addressable (opens in a new tab)
- github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0 (opens in a new tab)