CVE-2026-33176
7.5Ruby on Rails · Active Support
Active Support number helpers are vulnerable to uncontrolled resource consumption via scientific notation strings, which can lead to a denial of service.
Executive summary
An unauthenticated remote denial of service vulnerability exists in the Active Support component of Ruby on Rails due to improper handling of large scientific notation strings.
Vulnerability
This vulnerability occurs because number helpers accept strings containing scientific notation that, when processed by BigDecimal, trigger excessive memory allocation and CPU consumption. The flaw is reachable by unauthenticated attackers, allowing them to cause a service outage.
Business impact
The exploitation of this vulnerability can lead to significant service degradation or complete system downtime, directly impacting business availability. Given the CVSS score of 7.5, this high-severity flaw poses a notable risk to web applications relying on Rails, as it allows unauthenticated users to crash services via simple crafted inputs.
Remediation
Immediate Action: Update the affected Active Support gem to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 as applicable to your environment.
Proactive Monitoring: Monitor server resource utilization, specifically CPU and memory spikes, and review application logs for unusual request patterns involving numeric input fields.
Compensating Controls: Implement input validation at the Web Application Firewall layer to block or rate-limit request strings containing suspicious scientific notation formats.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Organizations utilizing affected versions of Active Support should prioritize upgrading to the patched versions immediately. The simplicity of triggering this denial of service condition makes it an attractive target for disruption, necessitating prompt remediation to ensure application stability.
More Ruby on Rails CVEs
Sources
- https://github.com/rails/rails/security/advisories/GHSA-2j26-frm8-cmj9
- https://github.com/rails/rails/commit/19dbab51ca086a657bb86458042bc44314916bcb
- https://github.com/rails/rails/commit/ebd6be18120d1136511eb516338e27af25ac0a1a
- https://github.com/rails/rails/commit/ee2c59e730e5b8faed502cd2c573109df093f856
- https://github.com/rails/rails/releases/tag/v7.2.3.1
- https://github.com/rails/rails/releases/tag/v8.0.4.1
- https://github.com/rails/rails/releases/tag/v8.1.2.1