Rails Active Support has a possible DoS vulnerability in its number helpers
Package
Affected versions
>= 8.1.0.beta1, < 8.1.2.1
>= 8.0.0.beta1, < 8.0.4.1
< 7.2.3.1
Patched versions
8.1.2.1
8.0.4.1
7.2.3.1
Description
Published to the GitHub Advisory Database
Mar 23, 2026
Reviewed
Mar 23, 2026
Published by the National Vulnerability Database
Mar 24, 2026
Last updated
Apr 7, 2026
Impact
Active Support number helpers accept strings containing scientific notation (e.g.
1e10000), which when converted to a string could be expanded into extremely large decimal representations. This can cause excessive memory allocation and CPU consumption when the expanded number is formatted, possibly resulting in a DoS vulnerability.Releases
The fixed releases are available at the normal locations.
Credit
https://hackerone.com/manun
References