CVE-2026-126352

Source
https://cve.org/CVERecord?id=CVE-2026-126352
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126352.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126352
Aliases
Downstream
CGA (14)
Published
2026-11-12T22:08:55Z
Modified
2026-11-13T10:46:41Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Addressable: Regular Expression Denial of Service in Addressable templates with multiple variables
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126352.json"
}
References

Affected packages

Git / github.com/sporkmonger/addressable

Affected ranges

Type
GIT
Repo
https://github.com/sporkmonger/addressable
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.9.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "f2b27b3ab252e56b3fa3519f7ebb491d54cf7b7c"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "addressable-2.9.1",
            "range": [
                {
                    "fixed": "afa66636d9fdcca11e03c85cf166651e0efa68ef"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

addressable-2.*
addressable-2.3.0
addressable-2.3.1
addressable-2.3.2
addressable-2.3.3
addressable-2.3.4
addressable-2.3.5
addressable-2.3.6
addressable-2.3.7
addressable-2.3.8
addressable-2.4.0
addressable-2.5.0
addressable-2.5.1
addressable-2.5.2
addressable-2.6.0
addressable-2.7.0
addressable-2.8.1
addressable-2.8.10
addressable-2.8.2
addressable-2.8.3
addressable-2.8.4
addressable-2.8.5
addressable-2.8.6
addressable-2.8.7
addressable-2.8.8
addressable-2.8.9
addressable-2.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126352.json"