Every CVESearch/Get API key

CVE-2026-126352

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

5.9 MediumFix available

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.

What does this mean?
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

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

0.43%Unchanged since Nov 13, 2026
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
addressable
RubyGems
2.3.0 up to 2.9.1
2.9.1
rubygem-addressable
Azure Linux:3
through 2.9.0-1None known
gitlab-rails-18
Docker 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 less
18.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-19
Docker 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 less
19.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.3
Docker 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.3
Docker Hardened Images:Alpine:3.24
Listed versions
3.3.11-r33.3.12-r33.3.13-r3
None known
fluentd-kubernetes-daemonset-azureblob-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-azureblob-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-azureblob
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
Show 61 moreShow less
Affected packages
PackageAffectedFixed
fluentd-kubernetes-daemonset-cloudwatch-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-cloudwatch
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-datadog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-datadog
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-elasticsearch7-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-elasticsearch7
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-elasticsearch8-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-elasticsearch8
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-forward-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-forward
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-gcs-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-gcs
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-graylog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-graylog
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kafka-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kafka2-1.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kafka2-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kafka2
Docker 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 less
1.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
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-kinesis-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-kinesis
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-logentries-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-logentries
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-loggly-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-loggly
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-logzio-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-logzio
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-opensearch-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-opensearch
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-papertrail-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-papertrail
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-s3-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-s3
Docker 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 less
1.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.19
Docker Hardened Images:Debian:13
Listed versions
1.19.4-81.19.4-9
None known
fluentd-kubernetes-daemonset-syslog-1.20
Docker Hardened Images:Debian:13
Listed versions
1.20.1-01.20.1-1
None known
fluentd-kubernetes-daemonset-syslog
Docker 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 less
1.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-18
Docker 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 less
18.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-19
Docker 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 less
19.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.3
Docker 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 less
3.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
addressable
RubyGems
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 less
2.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-addressable
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.3.8-12.3.8-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
2.5.1-22.5.2-12.5.2-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
2.5.2-12.7.0-12.7.0-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
2.7.0-22.8.0-32.8.0-3ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
2.8.1-12.8.5-12.8.5-1ubuntu0.1~esm1
None known
ruby-addressable
Ubuntu:26.10
All versions, plus listed versions
2.8.7-22.9.0-1
None known
ruby-addressable
Ubuntu: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 used5.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 MediumCVSS: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-1247325.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 MediumCVSS: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-vpp35.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:

  1. 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.
  2. 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.
  3. 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#match or Template#extract that 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 MediumCVSS: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
NVD5.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 MediumCVSS: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
OSV5.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 MediumCVSS: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-tnqz5.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 MediumCVSS: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-vpp35.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:

  1. 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.
  2. 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.
  3. 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#match or Template#extract that 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 MediumCVSS: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-1263525.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 MediumCVSS: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

History
RecordedChangedSources
affected, aliases, referencesOSV
affected, aliases, referencesOSV
affected, aliases, referencesOSV
referencesOSV
publishedEUVD
published, references, severity, titleCVE List
aliases, products, referencesEUVD
description, publishedNVD
affected, referencesOSV
first indexedGitHub Advisories

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 6 moreShow less
This page doesn't list everything

Left out here: 29 versions. The JSON record has them.

MoveEnter Open