{"id":"CVE-2026-33176","published":"2026-03-23T23:29:27Z","modified":"2026-03-24T18:42:48Z","title":"Rails Active Support has a possible DoS vulnerability in its number helpers","vendor":"rails","product":"activesupport","tier":"tail","description":{"text":"Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Support number helpers accept strings containing scientific notation (e.g. `1e10000`), which `BigDecimal` expands 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. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00937,"percentile":0.61726,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-2j26-frm8-cmj9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/19dbab51ca086a657bb86458042bc44314916bcb","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/ebd6be18120d1136511eb516338e27af25ac0a1a","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/ee2c59e730e5b8faed502cd2c573109df093f856","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v7.2.3.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.0.4.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":12.35},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"rails","affectedVersions":[{"vendor":"rails","product":"activesupport","versions":[">= 8.1.0.beta1, < 8.1.2.1",">= 8.0.0.beta1, < 8.0.4.1","< 7.2.3.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-24T18:42:42.653404Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"activesupport","vulnerableRanges":[">=8.1.0.beta1, <8.1.2.1",">=8.0.0.beta1, <8.0.4.1","<7.2.3.1"],"patched":["8.1.2.1","8.0.4.1","7.2.3.1"],"from":["GHSA-2j26-frm8-cmj9"],"provenance":"source"}],"summary":{"text":"The flaw is in the number helpers of Rails' Active Support component (activesupport), which accept strings in scientific notation such as \"1e10000\" and pass them to BigDecimal, which expands them into extremely large decimal representations. An attacker who can submit such input to an application that formats numbers through these helpers, with no authentication or user interaction required, can trigger excessive memory allocation and CPU consumption, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:09Z"},"euvd":{"id":"EUVD-2026-14630","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-38037","published":"2025-01-09","fixed":"7.0.7.1","kev":false,"link":{"from":"CVE-2023-38037","to":"CVE-2026-33176","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"7.0.7.1","toFixed":"7.2.3.1","daysApart":438}]}},{"cve":"CVE-2026-33169","published":"2026-03-23","fixed":"8.1.2.1","kev":false},{"cve":"CVE-2026-33170","published":"2026-03-23","fixed":"8.1.2.1","kev":false},{"cve":"CVE-2026-33176","published":"2026-03-23","fixed":"8.1.2.1","kev":false},{"cve":"CVE-2026-126075","published":"2026-11-10","fixed":"8.1.4.1","kev":false},{"cve":"CVE-2026-126080","published":"2026-11-10","fixed":"8.1.4.1","kev":false}],"package":"RubyGems:activesupport"}}