Vulnerabilities in pkg:gem/activesupport

PACKAGE
Advisory Identifier: GHSA-2j26-frm8-cmj9
Advisory Summary

CVE-2026-33176 is a MODERATE denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Activesupport libraries in the RubyGems ecosystem. The issue involves rails active support has a possible dos vulnerability in its number helpers. Remediation is available by upgrading affected packages to version 8.1.2.1, 8.0.4.1, 7.2.3.1.

18 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/activesupport

18 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/activesupport. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2j26-frm8-cmj9 CVE-2026-33176 MODERATE Rails Active Support has a possible DoS vulnerability in its number helpers
GHSA-89vf-4333-qx8v CVE-2026-33170 MODERATE Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
GHSA-cg4j-q9v8-6v38 CVE-2026-33169 MODERATE Rails Active Support has a possible ReDoS vulnerability in number_to_delimited
GHSA-vxvp-4xwc-jpp6 CVE-2015-3226 MODERATE activesupport Cross-site Scripting vulnerability
GHSA-2p68-f74v-9wc6 CVE-2020-8165 CRITICAL ActiveSupport potentially unintended unmarshalling of user-provided objects in MemCacheStore and RedisCacheStore
GHSA-8qrh-h9m2-5fvf CVE-2009-3009 MODERATE Cross site scripting that affects rails
GHSA-j96r-xvjq-r9pg CVE-2015-3227 MODERATE activesupport vulnerable to Denial of Service via large XML document depth
GHSA-j6gc-792m-qgm2 CVE-2023-22796 LOW ReDoS based DoS vulnerability in Active Support's underscore
GHSA-cr5q-6q9f-rq6q CVE-2023-38037 MODERATE Active Support Possibly Discloses Locally Encrypted Files
GHSA-h835-75hw-pj89 CVE-2012-3464 MODERATE activesupport Cross-site Scripting vulnerability
GHSA-pj73-v5mw-pm9j CVE-2023-28120 MODERATE Possible XSS Security Vulnerability in SafeBuffer#bytesplice
GHSA-xgr2-v94m-rc9g CVE-2013-0333 HIGH activesupport in Rails vulnerable to incorrect data conversion
GHSA-9c2j-593q-3g82 CVE-2013-1856 MODERATE activesupport Improper Input Validation vulnerability
GHSA-fg9w-g6m4-557j CVE-2009-3086 MODERATE actionpack and activesupport vulnerable to information leaks
GHSA-9fh3-vh3h-q4g3 CVE-2011-2932 MODERATE activesupport Cross-site Scripting vulnerability
GHSA-v9v4-7jp6-8c73 CVE-2011-2197 MODERATE rails Cross-site Scripting vulnerability
GHSA-qv8p-v9qw-wc7g CVE-2012-1098 MODERATE activesupport Cross-site Scripting vulnerability
GHSA-35c4-f3rq-f9g3 - MODERATE Moderate severity vulnerability that affects activesupport

CVE-2026-33176 at a Glance

CVE Identifier CVE-2026-33176
GHSA Identifier GHSA-2j26-frm8-cmj9
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Activesupport
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2026-33176

To remediate this vulnerability, upgrade all affected Activesupport dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

activesupport fixed: 8.1.2.1
Upgrade activesupport to 8.1.2.1
activesupport fixed: 8.0.4.1
Upgrade activesupport to 8.0.4.1
activesupport fixed: 7.2.3.1
Upgrade activesupport to 7.2.3.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for activesupport

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-33176, inspect your project dependencies for Activesupport:

inspect dependencies for activesupport

Analyze the terminal output to locate any version of Activesupport in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.1.2.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Activesupport, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](https://hackerone.com/manun).

CVE-2026-33176 Affected Activesupport Versions

3 component(s)
Fixed Versions:
8.1.2.18.0.4.17.2.3.1
Product / Package Ecosystem Affected Versions Fixed Version
activesupport
RubyGems
≥ 8.1.0.beta1
< 8.1.2.1
8.1.2.1
activesupport
RubyGems
≥ 8.0.0.beta1
< 8.0.4.1
8.0.4.1
activesupport
RubyGems
< 7.2.3.1
7.2.3.1

References

Frequently Asked Questions

What is CVE-2026-33176?
CVE-2026-33176 is a security vulnerability in Activesupport involving Rails Active Support has a possible DoS vulnerability in its number helpers under CWE-400: Uncontrolled Resource Consumption.
Which Activesupport versions are affected?
Affected versions include releases prior to 8.1.2.1, 8.0.4.1, 7.2.3.1 across affected packages: activesupport.
What version fixes CVE-2026-33176?
Upgrading to 8.1.2.1, 8.0.4.1, 7.2.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is activesupport affected?
Yes, activesupport is affected in releases prior to 8.1.2.1, 8.0.4.1, 7.2.3.1. Upgrade your dependency to 8.1.2.1, 8.0.4.1, 7.2.3.1 or later.
What CWE is associated with CVE-2026-33176?
CVE-2026-33176 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check RubyGems dependencies for CVE-2026-33176?
Run the dependency tree command: 'inspect dependencies for activesupport'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2j26-frm8-cmj9",
  "modified" : "2026-05-13T16:16:19Z",
  "published" : "2026-03-23T21:15:16Z",
  "aliases" : [ "CVE-2026-33176" ],
  "summary" : "Rails Active Support has a possible DoS vulnerability in its number helpers",
  "details" : "### Impact\nActive 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.\n\n### Releases\nThe fixed releases are available at the normal locations.\n\n### Credit\nThis issue was responsibly reported by Hackerone researcher [manun](https://hackerone.com/manun).",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "activesupport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.1.0.beta1"
      }, {
        "fixed" : "8.1.2.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "activesupport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0.beta1"
      }, {
        "fixed" : "8.0.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "activesupport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.2.3.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/security/advisories/GHSA-2j26-frm8-cmj9"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33176"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/19dbab51ca086a657bb86458042bc44314916bcb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/ebd6be18120d1136511eb516338e27af25ac0a1a"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/ee2c59e730e5b8faed502cd2c573109df093f856"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rails/rails"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/releases/tag/v7.2.3.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/releases/tag/v8.0.4.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/releases/tag/v8.1.2.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2026-33176.yml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-23T21:15:16Z",
    "nvd_published_at" : "2026-03-24T00:16:28Z"
  }
}