CVE-2026-126352Addressable: Regular Expression Denial of Service in Addressable templates with multiple…
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.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126352 | |
| Ubuntu 26.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126352 | |
| Ubuntu 24.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126352 | |
| Ubuntu 22.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126352 | |
| Ubuntu 20.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126352 | |
| Ubuntu 18.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126352 | |
| Ubuntu 16.04 | ruby-addressable | Fix pending | UBUNTU-CVE-2026-126352 | |
| Debian 14 | ruby-addressable | Fixed | 2.9.2-1 | DEBIAN-CVE-2026-126352 |
| Debian 13 | ruby-addressable | Fix pending | DEBIAN-CVE-2026-126352 | |
| Debian 12 | ruby-addressable | Fix pending | DEBIAN-CVE-2026-126352 | |
| Red Hat Enterprise Linux 10 | ruby | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-bundled-gems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-default-gems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | ruby-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-bigdecimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-bundler | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-io-console | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-irb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-minitest | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-power_assert | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-psych | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-racc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rake | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rbs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rdoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rexml | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-rss | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-test-unit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygem-typeprof | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | rubygems-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-default-gems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | ruby-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-bigdecimal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-bundler | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-io-console | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-irb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-json | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-minitest | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-power_assert | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-psych | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rake | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rbs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rdoc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rexml | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-rss | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-test-unit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygem-typeprof | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygems | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | rubygems-devel | Fix pending Fix deferred | ||
| RubyGems library | addressable | Fixed | 2.9.1 | GHSA-9f42-57jx-vpp3 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sporkmonger addressable: affected: >= 2.3.0, < 2.9.1
References
- https://github.com/sporkmonger/addressable/security/advisories/GHSA-9f42-57jx-vpp3
- https://github.com/sporkmonger/addressable/commit/f2b27b3ab252e56b3fa3519f7ebb491d54cf7b7c
- https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.