GHSA-cg4j-q9v8-6v38Medium

Rails Active Support has a possible ReDoS vulnerability in number_to_delimited

Published
March 23, 2026
Last Modified
May 13, 2026

🔗 CVE IDs covered (1)

📋 Description

Impact

NumberToDelimitedConverter used a regular expression with gsub! to insert thousands delimiters. This could produce quadratic time complexity on long digit strings.

Releases

The fixed releases are available at the normal locations.

Credit

This issue was responsibly reported by Hackerone researcher scyoon.

🎯 Affected products3

  • rubygems/activesupport:>= 8.1.0.beta1, < 8.1.2.1
  • rubygems/activesupport:>= 8.0.0.beta1, < 8.0.4.1
  • rubygems/activesupport:< 7.2.3.1

🔗 References (10)