CVE-2026-126352
Addressable: Regular Expression Denial of Service in Addressable templates with multiple variables
CVE-2026-126352 is a medium vulnerability (CVSS 5.9) in Sporkmonger Addressable, published November 12, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in addressable 2.9.1.
- Severity
- 5.9 MediumCVSS 3.1, CVE List
- Exploit chance
- 0.43%EPSS, 37th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
2.9.1addressable +70 more
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
addressableRubyGems | 2.3.0 up to 2.9.1 | 2.9.1 |
rubygem-addressableAzure Linux:3 | through 2.9.0-1 | None known |
gitlab-rails-18Docker Hardened Images:Alpine:3.24 | Listed versions 18.11.11-r018.11.11-r118.11.11-r218.11.12-r018.11.12-r1 Show 15 moreShow less18.11.12-r218.11.12-r318.11.12-r418.11.14-r018.11.14-r118.11.14-r1018.11.14-r1118.11.14-r218.11.14-r318.11.14-r418.11.14-r518.11.14-r618.11.14-r718.11.14-r818.11.14-r9 | None known |
gitlab-rails-19Docker Hardened Images:Alpine:3.24 | Listed versions 19.1.8-r019.1.8-r119.4.1-r019.4.1-r119.4.1-r2 Show 16 moreShow less19.4.1-r319.4.2-r019.5.3-r019.5.3-r119.5.3-r219.5.3-r319.5.3-r419.5.3-r519.5.3-r619.5.3-r719.5.3-r819.5.4-r019.5.4-r119.5.5-r019.5.5-r119.5.5-r2 | None known |
ruby-3.3Docker Hardened Images:Alpine:3.23 | Listed versions 3.3.10-r03.3.10-r13.3.11-r13.3.11-r23.3.11-r33.3.12-r33.3.13-r3 | None known |
ruby-3.3Docker Hardened Images:Alpine:3.24 | Listed versions 3.3.11-r33.3.12-r33.3.13-r3 | None known |
fluentd-kubernetes-daemonset-azureblob-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-azureblob-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-azureblobDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-cloudwatch-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
Show 61 moreShow less
| Package | Affected | Fixed |
|---|---|---|
fluentd-kubernetes-daemonset-cloudwatch-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-cloudwatchDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-datadog-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-datadog-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-datadogDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-elasticsearch7-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-elasticsearch7-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-elasticsearch7Docker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-elasticsearch8-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-elasticsearch8-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-elasticsearch8Docker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-forward-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-forward-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-forwardDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-gcs-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-gcs-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-gcsDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-graylog-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-graylog-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-graylogDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-kafka-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-kafka-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-kafka2-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-kafka2-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-kafka2Docker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-kafkaDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-kinesis-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-kinesis-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-kinesisDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-logentries-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-logentries-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-logentriesDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-loggly-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-loggly-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-logglyDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-logzio-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-logzio-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-logzioDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-opensearch-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-opensearch-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-opensearchDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-papertrail-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-papertrail-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-papertrailDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-s3-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-s3-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-s3Docker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
fluentd-kubernetes-daemonset-syslog-1.19Docker Hardened Images:Debian:13 | Listed versions 1.19.4-81.19.4-9 | None known |
fluentd-kubernetes-daemonset-syslog-1.20Docker Hardened Images:Debian:13 | Listed versions 1.20.1-01.20.1-1 | None known |
fluentd-kubernetes-daemonset-syslogDocker Hardened Images:Debian:13 | Listed versions 1.19.3-01.19.3-11.19.3-101.19.3-111.19.3-12 Show 31 moreShow less1.19.3-131.19.3-141.19.3-151.19.3-161.19.3-171.19.3-181.19.3-191.19.3-21.19.3-201.19.3-211.19.3-221.19.3-231.19.3-241.19.3-251.19.3-261.19.3-31.19.3-41.19.3-51.19.3-61.19.3-71.19.3-81.19.3-91.19.4-01.19.4-11.19.4-21.19.4-31.19.4-41.19.4-51.19.4-61.19.4-71.19.4-8 | None known |
gitlab-rails-18Docker Hardened Images:Debian:13 | Listed versions 18.11.11-018.11.11-118.11.11-218.11.12-018.11.12-1 Show 18 moreShow less18.11.12-218.11.14-018.11.14-118.11.14-1018.11.14-1118.11.14-1218.11.14-1318.11.14-1418.11.14-1518.11.14-1618.11.14-218.11.14-318.11.14-418.11.14-518.11.14-618.11.14-718.11.14-818.11.14-9 | None known |
gitlab-rails-19Docker Hardened Images:Debian:13 | Listed versions 19.1.8-019.1.8-119.4.1-019.4.1-119.4.1-2 Show 20 moreShow less19.4.2-019.5.3-019.5.3-119.5.3-219.5.3-319.5.3-419.5.3-519.5.3-619.5.3-719.5.3-819.5.3-919.5.4-019.5.4-119.5.5-019.5.5-119.5.5-219.5.5-319.5.5-419.5.5-519.5.5-6 | None known |
ruby-3.3Docker Hardened Images:Debian:13 | Listed versions 3.3.11-03.3.11-13.3.11-23.3.11-33.3.11-4 Show 45 moreShow less3.3.11-53.3.11-63.3.12-03.3.12-13.3.12-103.3.12-113.3.12-123.3.12-133.3.12-143.3.12-153.3.12-163.3.12-173.3.12-183.3.12-193.3.12-23.3.12-203.3.12-213.3.12-223.3.12-233.3.12-243.3.12-253.3.12-263.3.12-273.3.12-283.3.12-293.3.12-33.3.12-303.3.12-313.3.12-323.3.12-333.3.12-343.3.12-353.3.12-363.3.12-373.3.12-383.3.12-393.3.12-43.3.12-403.3.12-413.3.12-423.3.12-433.3.12-443.3.12-453.3.12-463.3.12-47 | None known |
addressableRubyGems | 2.3.0 up to 2.9.1, plus listed versions 2.3.22.3.32.3.42.3.52.3.6 Show 20 moreShow less2.3.72.3.82.4.02.5.02.5.12.5.22.6.02.7.02.8.02.8.12.8.102.8.22.8.32.8.42.8.52.8.62.8.72.8.82.8.92.9.0 | 2.9.1 |
ruby-addressableUbuntu:Pro:16.04:LTS | All versions, plus listed versions 2.3.8-12.3.8-1ubuntu0.1~esm1 | None known |
ruby-addressableUbuntu:Pro:18.04:LTS | All versions, plus listed versions 2.5.1-22.5.2-12.5.2-1ubuntu0.1~esm1 | None known |
ruby-addressableUbuntu:Pro:20.04:LTS | All versions, plus listed versions 2.5.2-12.7.0-12.7.0-1ubuntu0.1~esm1 | None known |
ruby-addressableUbuntu:Pro:22.04:LTS | All versions, plus listed versions 2.7.0-22.8.0-32.8.0-3ubuntu0.1~esm1 | None known |
ruby-addressableUbuntu:Pro:24.04:LTS | All versions, plus listed versions 2.8.1-12.8.5-12.8.5-1ubuntu0.1~esm1 | None known |
ruby-addressableUbuntu:26.10 | All versions, plus listed versions 2.8.7-22.9.0-1 | None known |
ruby-addressableUbuntu:Pro:26.04:LTS | All versions, plus listed versions 2.8.7-22.8.7-2ubuntu0.26.04.1~esm1 | None known |
What each source reports
CVE List Score used 5.9
Addressable: Regular Expression Denial of Service in Addressable templates with multiple variables
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.
- Record
CVE-2026-126352- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-12
EUVDEUVD-2026-124732 5.9
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.
- Record
EUVD-2026-124732- 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 - Updated
- 2026-11-13
GitHub AdvisoriesGHSA-9f42-57jx-vpp3 5.9
Addressable: Regular Expression Denial of Service in templates with multiple variables
Impact
Within the URI template implementation in Addressable, templates that put several variables in one expression generate regular expressions vulnerable to excessive backtracking:
- Expressions with any operator other than
+and#(e.g.,{/owner,repo,ref},{.a,b},{a,b,c},{;a,b,c}). The values are joined by an optional separator, so a run of characters can be divided among the variables in O(n^k) ways for k variables. - Expressions with the
+or#operators and many variables (e.g.,{+v1,v2,v3,v4,v5,v6,v7,v8,v9,v10}). A failing match is exponential in the number of variables. - Several single-variable expressions next to each other (e.g.,
{+a}{+b}{+c}or{a}{b}{c}), which are polynomial in the input length.
When Template#match or Template#extract is called with a maliciously crafted URI, this can result in uncontrolled resource consumption, leading to denial of service. A three-variable path template such as http://example.com/repos{/owner,repo,ref} needs about 2 KB of input to occupy a thread for many seconds.
Users of the URI parsing capabilities in Addressable but not the URI template matching capabilities are unaffected. Users who only call Template#expand are unaffected.
Affected Versions
This vulnerability affects Addressable >= 2.3.0 (note: 2.3.0 and 2.3.1 were yanked; the earliest installable release is 2.3.2), including 2.9.0. It is fixed in 2.9.1.
The vulnerability is exploitable on Ruby implementations whose regular expression engine backtracks without memoization: MRI Ruby < 3.2 and JRuby. The second form, many-variable + and # expressions, is also exploitable on MRI Ruby 3.2, which does not memoize a regular expression that contains possessive quantifiers, and 2.9.0 generates those for these operators. It is also exploitable on TruffleRuby 40.0, whose regular expression engine falls back to backtracking for them. MRI Ruby 3.3 and later are not affected by any form, because they memoize those regular expressions too. TruffleRuby 40.0 is not affected by the other two forms. Earlier TruffleRuby versions were not tested.
This has been confirmed on the following runtimes with Addressable 2.9.0:
| Runtime | Status | |---------|--------| | MRI Ruby 2.7 | Vulnerable | | MRI Ruby 3.1 | Vulnerable | | MRI Ruby 3.2 | Vulnerable | | MRI Ruby 3.3 | Not affected | | MRI Ruby 3.4 | Not affected | | MRI Ruby 4.0 | Not affected | | JRuby 9.4 | Vulnerable | | JRuby 10.1 | Vulnerable | | TruffleRuby 40.0 | Vulnerable |
Workarounds
- Upgrade to MRI Ruby 3.3 or later, if a consuming application does not use JRuby or TruffleRuby.
- Avoid matching user-supplied input on unpatched versions of the library against templates with several variables in one expression, or with several expressions next to each other.
- Apply a short timeout around any call to
Template#matchorTemplate#extractthat processes user-supplied data.
Credits
Reported by Matthew Mongeau (@halogenandtoast), Ruby Central Gem Security.
For more information
If there are any questions or comments about this advisory:
- Record
GHSA-9f42-57jx-vpp3- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-12
NVD 5.9
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.
- Record
CVE-2026-126352- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-12
OSV 5.9
Addressable: Regular Expression Denial of Service in Addressable templates with multiple variables
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.
- Record
CVE-2026-126352- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-14
OSVDHI-va2c-urjo-lx6p-tnqz 5.9
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From…
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.
- Record
DHI-va2c-urjo-lx6p-tnqz- 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 - Updated
- 2026-11-16
OSVGHSA-9f42-57jx-vpp3 5.9
Addressable: Regular Expression Denial of Service in templates with multiple variables
Impact
Within the URI template implementation in Addressable, templates that put several variables in one expression generate regular expressions vulnerable to excessive backtracking:
- Expressions with any operator other than
+and#(e.g.,{/owner,repo,ref},{.a,b},{a,b,c},{;a,b,c}). The values are joined by an optional separator, so a run of characters can be divided among the variables in O(n^k) ways for k variables. - Expressions with the
+or#operators and many variables (e.g.,{+v1,v2,v3,v4,v5,v6,v7,v8,v9,v10}). A failing match is exponential in the number of variables. - Several single-variable expressions next to each other (e.g.,
{+a}{+b}{+c}or{a}{b}{c}), which are polynomial in the input length.
When Template#match or Template#extract is called with a maliciously crafted URI, this can result in uncontrolled resource consumption, leading to denial of service. A three-variable path template such as http://example.com/repos{/owner,repo,ref} needs about 2 KB of input to occupy a thread for many seconds.
Users of the URI parsing capabilities in Addressable but not the URI template matching capabilities are unaffected. Users who only call Template#expand are unaffected.
Affected Versions
This vulnerability affects Addressable >= 2.3.0 (note: 2.3.0 and 2.3.1 were yanked; the earliest installable release is 2.3.2), including 2.9.0. It is fixed in 2.9.1.
The vulnerability is exploitable on Ruby implementations whose regular expression engine backtracks without memoization: MRI Ruby < 3.2 and JRuby. The second form, many-variable + and # expressions, is also exploitable on MRI Ruby 3.2, which does not memoize a regular expression that contains possessive quantifiers, and 2.9.0 generates those for these operators. It is also exploitable on TruffleRuby 40.0, whose regular expression engine falls back to backtracking for them. MRI Ruby 3.3 and later are not affected by any form, because they memoize those regular expressions too. TruffleRuby 40.0 is not affected by the other two forms. Earlier TruffleRuby versions were not tested.
This has been confirmed on the following runtimes with Addressable 2.9.0:
| Runtime | Status | |---------|--------| | MRI Ruby 2.7 | Vulnerable | | MRI Ruby 3.1 | Vulnerable | | MRI Ruby 3.2 | Vulnerable | | MRI Ruby 3.3 | Not affected | | MRI Ruby 3.4 | Not affected | | MRI Ruby 4.0 | Not affected | | JRuby 9.4 | Vulnerable | | JRuby 10.1 | Vulnerable | | TruffleRuby 40.0 | Vulnerable |
Workarounds
- Upgrade to MRI Ruby 3.3 or later, if a consuming application does not use JRuby or TruffleRuby.
- Avoid matching user-supplied input on unpatched versions of the library against templates with several variables in one expression, or with several expressions next to each other.
- Apply a short timeout around any call to
Template#matchorTemplate#extractthat processes user-supplied data.
Credits
Reported by Matthew Mongeau (@halogenandtoast), Ruby Central Gem Security.
For more information
If there are any questions or comments about this advisory:
- Record
GHSA-9f42-57jx-vpp3- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-12
OSVUBUNTU-CVE-2026-126352 5.9
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.
- Record
UBUNTU-CVE-2026-126352- 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 - Updated
- 2026-11-13
OSVAZL-114046No score
CVE-2026-126352 affecting package rubygem-addressable 2.9.0-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.
- Record
AZL-114046- Updated
- 2026-11-15
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| affected, aliases, references | OSV | |
| affected, aliases, references | OSV | |
| references | OSV | |
| published | EUVD | |
| published, references, severity, title | CVE List | |
| aliases, products, references | EUVD | |
| description, published | NVD | |
| affected, references | OSV | |
| first indexed | GitHub Advisories |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/sporkmonger/addressable/security/advisories/GHSA-9f42-57jx-vpp3
github.com/sporkmonger/addressable/commit/f2b27b3ab252e56b3fa3519f7ebb491d54cf7b7c
github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-9f42-57jx-vpp3.yml
github.com/advisories/GHSA-9f42-57jx-vpp3
nvd.nist.gov/vuln/detail/CVE-2026-126352
Show 6 moreShow less
Left out here: 29 versions. The JSON record has them.