CVE-2026-141525

Source
https://cve.org/CVERecord?id=CVE-2026-141525
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141525.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-141525
Aliases
Published
2026-12-01T20:57:19Z
Modified
2026-12-01T22:00:23Z
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 on MRI Ruby 3.2 and TruffleRuby
Details

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.9.1 until 2.10.0, Addressable URI template regular expressions containing lookaround assertions can lose regular-expression memoization on MRI Ruby 3.2 and can backtrack on TruffleRuby 40.0. Calling Template#match or Template#extract with a crafted URI against an affected template can consume polynomial CPU time and cause denial of service. The remediation does not cover processor-supplied variable patterns or certain templates that combine exploded or multi-variable expressions with other expressions, which can remain polynomial on MRI Ruby before 3.3, JRuby, and TruffleRuby. This issue is fixed in version 2.10.0.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-1333"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141525.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.9.1"
                },
                {
                    "fixed":  "2.10.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "576662e4791df3cfd17c944041a98f516d3c0734"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "addressable-2.10.0",
            "range":  [
                {
                    "fixed":  "a12466a0e52fe28a721564b5c51f83a092a7719f"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

addressable-2.*
addressable-2.9.1
addressable-2.9.2

Database specific

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