RubySec

Providing security resources for the Ruby community

CVE-2026-33176 (activesupport): Rails Active Support has a possible DoS vulnerability in its number helpers

Rails Active Support has a possible DoS vulnerability in its number helpers

Published: March 23, 2026

SECURITY IDENTIFIERS

GEM

activesupport

FRAMEWORK

Ruby on Rails

PATCHED VERSIONS

~> 7.2.3, >= 7.2.3.1 ~> 8.0.4, >= 8.0.4.1 >= 8.1.2.1

DESCRIPTION

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.

RELATED