Rails Active Support has a possible DoS vulnerability in its number helpersGHSA-2j26-frm8-cmj9
Fix: rails/rails@19dbab5GHSA-2j26-frm8-cmj9 is a Uncontrolled Resource Consumption vulnerability in activesupport. A fix is available for activesupport — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-2j26-frm8-cmj9.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
activesupport💎activesupport💎activesupportReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
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.
Credit
This issue was responsibly reported by Hackerone researcher manun.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | activesupport | ≥ 8.1.0.beta1&&< 8.1.2.1 | 8.1.2.1bundle update activesupport --conservative |
| 💎RubyGems | activesupport | ≥ 8.0.0.beta1&&< 8.0.4.1 | 8.0.4.1bundle update activesupport --conservative |
| 💎RubyGems | activesupport | all versions | 7.2.3.1bundle update activesupport --conservative |
Affected Products
railsrubyonrailsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for activesupport, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update activesupport to 8.1.2.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-2j26-frm8-cmj9 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw is rated as Moderate by Red Hat. Successful exploitation of this vulnerability requires an attacker to reach the vulnerable code path within the Active Support library as used by the hosting application. Because this functionality is not typically exposed directly to unauthenticated users, an attacker would…
To mitigate this issue, applications that use Active Support number helpers to process untrusted input should implement strict input validation. This involves sanitizing or restricting the format and length of numerical strings before they are passed to Active Support, thereby preventing the `BigDecimal` component from expanding into extremely large decimal representations and consuming excessive resources.Source: Red Hat security advisory for GHSA-2j26-frm8-cmj9 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Satellite 6.16 for RHEL 8 | rubygem-activesupport-0:6.1.7.8-2.el8sat | RHSA-2026:14874 |
| Red Hat Satellite 6.17 for RHEL 9 | rubygem-activesupport-0:7.0.8.7-2.el9sat | RHSA-2026:14873 |
| Red Hat Satellite 6.18 for RHEL 9 | rubygem-activesupport-0:7.0.8.7-2.el9sat | RHSA-2026:14835 |
Frequently Asked Questions
Is GHSA-2j26-frm8-cmj9 in your dependencies?
Find it across RubyGems, including transitive dependencies.