# CVE-2026-126352: Addressable: Regular Expression Denial of Service in Addressable templates with multiple variables

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/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.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-11-12T22:08:55.535Z
- Modified: 2026-11-13T16:08:55.993Z
- Also known as: GHSA-9f42-57jx-vpp3
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, 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 until 2.9.1, URI templates with several variables in one expression or several adjacent expressions generate ambiguous regular expressions. Affected forms include multi-variable expressions using operators other than plus and number sign, large plus or number-sign expressions, and adjacent single-variable expressions. Template#match or Template#extract can backtrack polynomially or exponentially on attacker-controlled URIs, causing denial of service on MRI Ruby before 3.2 and JRuby, with the large plus and number-sign form also affecting MRI Ruby 3.2 and TruffleRuby 40.0. URI parsing and Template#expand are unaffected. This issue is fixed in version 2.9.1.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sporkmonger/addressable/security/advisories/GHSA-9f42-57jx-vpp3> (web)
- <https://github.com/sporkmonger/addressable/commit/f2b27b3ab252e56b3fa3519f7ebb491d54cf7b7c> (web)
- <https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-9f42-57jx-vpp3.yml> (web)
- <https://github.com/sporkmonger/addressable> (package)

## Sources

- CVE List: [CVE-2026-126352](https://www.cve.org/CVERecord?id=CVE-2026-126352), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-9f42-57jx-vpp3](https://github.com/advisories/GHSA-9f42-57jx-vpp3), CC-BY-4.0, modified 2026-11-12
- NVD: [CVE-2026-126352](https://nvd.nist.gov/vuln/detail/CVE-2026-126352), Public domain, modified 2026-11-13

---

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