# CVE-2026-35611: Addressable has a Regular Expression Denial of Service in Addressable templates

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-04-07T16:38:08.707Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-h27x-rffw-24p4
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.3.0 to before 2.9.0, within the URI template implementation in Addressable, two classes of URI template generate regular expressions vulnerable to catastrophic backtracking. Templates using the * (explode) modifier with any expansion operator (e.g., {foo*}, {+var*}, {#var*}, {/var*}, {.var*}, {;var*}, {?var*}, {&var*}) generate patterns with nested unbounded quantifiers that are O(2^n) when matched against a maliciously crafted URI. Templates using multiple variables with the + or # operators (e.g., {+v1,v2,v3}) generate patterns with O(n^k) complexity due to the comma separator being within the matched character class, causing ambiguous backtracking across k variables. When matched against a maliciously crafted URI, this can result in catastrophic backtracking and uncontrolled resource consumption, leading to denial of service. This vulnerability is fixed in 2.9.0.

(As written by CVE List.)

## Affected

- sporkmonger addressable: >= 2.3.0, < 2.9.0
- addressable (RubyGems): from 2.3.0 before 2.9.0
- addressable_project addressable: from 2.3.0 before 2.9.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sporkmonger/addressable/security/advisories/GHSA-h27x-rffw-24p4> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35611> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/CVE-2026-35611.yml> (web)
- <https://github.com/sporkmonger/addressable> (package)

## Sources

- CVE List: [CVE-2026-35611](https://www.cve.org/CVERecord?id=CVE-2026-35611), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-h27x-rffw-24p4](https://github.com/advisories/GHSA-h27x-rffw-24p4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-35611](https://nvd.nist.gov/vuln/detail/CVE-2026-35611), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35611 · Whole record: https://cve.day/CVE-2026-35611.json · Rebuilt by cve.day 2026-11-25T22:59:18.135Z
