CVE-2026-126352

GHSA-9f42-57jx-vpp3 · published 12 Nov 2026 · updated 17 Nov 2026

Addressable: Regular Expression Denial of Service in Addressable templates with multiple variables

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in addressable 2.9.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
sporkmonger>=2.3.0 <2.9.1
rubygems: addressable>=2.3.0 <2.9.12.9.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in addressable (RubyGems), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126352 severity on Zeptric[![CVE-2026-126352](https://zeptric.io/badge/cve/CVE-2026-126352.svg)](https://zeptric.io/cve/CVE-2026-126352)