{"id":"CVE-2026-141529","summary":"Addressable::Template builds its regexp in quadratic time for patterns with non-ASCII characters","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::Template builds its cached regular expression in quadratic time when an untrusted template pattern contains non-ASCII text or a long run of adjacent expressions. Operations that compile or inspect such templates, including match, extract, to_regexp, variables, variable_defaults, and freeze, can consume excessive CPU and cause denial of service. This issue is fixed in version 2.10.0.","aliases":["GHSA-h78h-gj97-g737"],"modified":"2026-12-01T23:00:13.297990200Z","published":"2026-12-01T21:05:20.999Z","database_specific":{"cwe_ids":["CWE-407"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141529.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141529.json"},{"type":"FIX","url":"https://github.com/sporkmonger/addressable/commit/ebe911f8623bcc664d2e6df079c96c325ad181c8"},{"type":"WEB","url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0"},{"type":"ADVISORY","url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-h78h-gj97-g737"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141529"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sporkmonger/addressable","events":[{"introduced":"afa66636d9fdcca11e03c85cf166651e0efa68ef"},{"fixed":"a12466a0e52fe28a721564b5c51f83a092a7719f"},{"fixed":"ebe911f8623bcc664d2e6df079c96c325ad181c8"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.9.1"},{"fixed":"2.10.0"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ebe911f8623bcc664d2e6df079c96c325ad181c8"}]},{"original_tag":"addressable-2.10.0","range":[{"fixed":"a12466a0e52fe28a721564b5c51f83a092a7719f"}],"source":"REFERENCES_TAG"}]}}],"versions":["addressable-2.9.2","addressable-2.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141529.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}