{"id":"CVE-2026-33169","published":"2026-03-23T23:07:07Z","modified":"2026-03-24T15:46:43Z","title":"Rails Active Support has a possible ReDoS vulnerability in number_to_delimited","vendor":"rails","product":"activesupport","tier":"tail","description":{"text":"Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. `NumberToDelimitedConverter` uses a lookahead-based regular expression with `gsub!` to insert thousands delimiters. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, the interaction between the repeated lookahead group and `gsub!` can produce quadratic time complexity on long digit strings. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00717,"percentile":0.54717,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-cg4j-q9v8-6v38","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/29154f1097da13d48fdb3200760b3e3da66dcb11","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/b54a4b373c6f042cab6ee2033246b1c9ecc38974","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/ec1a0e215efd27a3b3911aae6df978a80f456a49","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v7.2.3.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.0.4.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.94},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"rails","affectedVersions":[{"vendor":"rails","product":"activesupport","versions":[">= 8.1.0.beta1, < 8.1.2.1",">= 8.0.0.beta1, < 8.0.4.1","< 7.2.3.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-24T15:45:49.354964Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"activesupport","vulnerableRanges":[">=8.1.0.beta1, <8.1.2.1",">=8.0.0.beta1, <8.0.4.1","<7.2.3.1"],"patched":["8.1.2.1","8.0.4.1","7.2.3.1"],"from":["GHSA-cg4j-q9v8-6v38"],"provenance":"source"}],"summary":{"text":"The flaw is in the NumberToDelimitedConverter component of the activesupport product from Rails, where a lookahead-based regular expression used with gsub! to insert thousands delimiters can exhibit quadratic time complexity on long digit strings. An attacker with network access and no authentication or user interaction can trigger excessive resource consumption (denial of service) by supplying long digit strings to the affected functionality, and the issue is resolved in versions 8.1.2.1, 8.0.4.1, and 7.2.3.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:12Z"},"euvd":{"id":"EUVD-2026-14622","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-22796","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-28120","published":"2025-01-09","fixed":"7.0.4.3","kev":false},{"cve":"CVE-2023-38037","published":"2025-01-09","fixed":"7.0.7.1","kev":false,"link":{"from":"CVE-2023-38037","to":"CVE-2026-33169","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"7.0.7.1","toFixed":"7.2.3.1","daysApart":438}]}},{"cve":"CVE-2026-33169","published":"2026-03-23","fixed":"8.1.2.1","kev":false},{"cve":"CVE-2026-33170","published":"2026-03-23","fixed":"8.1.2.1","kev":false},{"cve":"CVE-2026-33176","published":"2026-03-23","fixed":"8.1.2.1","kev":false},{"cve":"CVE-2026-126075","published":"2026-11-10","fixed":"8.1.4.1","kev":false}],"package":"RubyGems:activesupport"}}