[CVE-2026-33169] Possible ReDoS vulnerability in number_to_delimited in Active Support

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.

  • CVE-2026-33169
  • GHSA-cg4j-q9v8-6v38

Versions affected

  • activesupport >= 8.1, < 8.1.2.1 (patched in 8.1.2.1)
  • activesupport >= 8.0, < 8.0.4.1 (patched in 8.0.4.1)
  • activesupport < 7.2.3.1 (patched in 7.2.3.1)

Patches

2 Likes