CVE-2026-33169: CWE-400: Uncontrolled Resource Consumption in rails activesupport
CVE-2026-33169 is a medium severity vulnerability in the Ruby on Rails Active Support library, specifically in the NumberToDelimitedConverter class. It involves uncontrolled resource consumption due to a quadratic time complexity in a regular expression used with gsub! on long digit strings. This can lead to denial of service by exhausting CPU resources when processing crafted input. The flaw affects versions prior to 8. 1. 2. 1, 8. 0. 4.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-33169 affects the Active Support component of the Ruby on Rails framework, specifically the NumberToDelimitedConverter class. This class uses a regular expression with a repeated lookahead group combined with the gsub! method to insert thousands delimiters into numeric strings. Prior to the patched versions (8.1.2.1, 8.0.4.1, and 7.2.3.1), this combination causes the regular expression engine to exhibit quadratic time complexity when processing long digit strings. This inefficiency can be exploited by an attacker to cause excessive CPU consumption, leading to a denial of service (DoS) condition. The vulnerability does not require any privileges, user interaction, or authentication, making it remotely exploitable by simply submitting crafted input to affected applications. The issue is categorized under CWE-400 (Uncontrolled Resource Consumption) and CWE-1333 (Inefficient Regular Expression Complexity). Although no known exploits have been reported in the wild, the potential for service disruption is significant. The patch released in the specified versions addresses the regular expression inefficiency, mitigating the risk. This vulnerability is relevant to any application using the affected versions of Active Support, which is widely used in Ruby on Rails applications globally.
Potential Impact
The primary impact of CVE-2026-33169 is the potential for denial of service through resource exhaustion. Attackers can exploit the inefficient regular expression to cause high CPU usage, slowing down or crashing web applications that rely on vulnerable versions of Active Support. This can lead to service outages, degraded performance, and increased operational costs due to resource overuse. Organizations running Ruby on Rails applications with affected Active Support versions are at risk of disruption, which can affect customer trust and business continuity. Since the vulnerability requires no authentication or user interaction, it can be exploited remotely and anonymously, increasing the attack surface. Although it does not directly compromise data confidentiality or integrity, the availability impact can be severe, especially for high-traffic or critical web services. The widespread use of Rails in many industries including finance, e-commerce, and technology means the potential scope of impact is broad.
Mitigation Recommendations
To mitigate CVE-2026-33169, organizations should immediately upgrade Active Support to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 or later, where the regular expression inefficiency has been fixed. For environments where immediate upgrading is not feasible, consider implementing input validation or limiting the length of numeric strings processed by NumberToDelimitedConverter to reduce the risk of triggering the quadratic behavior. Monitoring application performance and setting resource usage thresholds can help detect exploitation attempts early. Additionally, employing web application firewalls (WAFs) to detect and block suspicious input patterns targeting this vulnerability can provide a temporary protective layer. Developers should review their use of Active Support’s number formatting features and avoid processing untrusted or excessively long digit strings without proper sanitization. Regularly auditing dependencies and applying security patches promptly is critical to maintaining resilience against such resource exhaustion attacks.
Affected Countries
United States, United Kingdom, Germany, France, Japan, Canada, Australia, India, Brazil, Netherlands, South Korea, Singapore
CVE-2026-33169: CWE-400: Uncontrolled Resource Consumption in rails activesupport
Description
CVE-2026-33169 is a medium severity vulnerability in the Ruby on Rails Active Support library, specifically in the NumberToDelimitedConverter class. It involves uncontrolled resource consumption due to a quadratic time complexity in a regular expression used with gsub! on long digit strings. This can lead to denial of service by exhausting CPU resources when processing crafted input. The flaw affects versions prior to 8. 1. 2. 1, 8. 0. 4.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-33169 affects the Active Support component of the Ruby on Rails framework, specifically the NumberToDelimitedConverter class. This class uses a regular expression with a repeated lookahead group combined with the gsub! method to insert thousands delimiters into numeric strings. Prior to the patched versions (8.1.2.1, 8.0.4.1, and 7.2.3.1), this combination causes the regular expression engine to exhibit quadratic time complexity when processing long digit strings. This inefficiency can be exploited by an attacker to cause excessive CPU consumption, leading to a denial of service (DoS) condition. The vulnerability does not require any privileges, user interaction, or authentication, making it remotely exploitable by simply submitting crafted input to affected applications. The issue is categorized under CWE-400 (Uncontrolled Resource Consumption) and CWE-1333 (Inefficient Regular Expression Complexity). Although no known exploits have been reported in the wild, the potential for service disruption is significant. The patch released in the specified versions addresses the regular expression inefficiency, mitigating the risk. This vulnerability is relevant to any application using the affected versions of Active Support, which is widely used in Ruby on Rails applications globally.
Potential Impact
The primary impact of CVE-2026-33169 is the potential for denial of service through resource exhaustion. Attackers can exploit the inefficient regular expression to cause high CPU usage, slowing down or crashing web applications that rely on vulnerable versions of Active Support. This can lead to service outages, degraded performance, and increased operational costs due to resource overuse. Organizations running Ruby on Rails applications with affected Active Support versions are at risk of disruption, which can affect customer trust and business continuity. Since the vulnerability requires no authentication or user interaction, it can be exploited remotely and anonymously, increasing the attack surface. Although it does not directly compromise data confidentiality or integrity, the availability impact can be severe, especially for high-traffic or critical web services. The widespread use of Rails in many industries including finance, e-commerce, and technology means the potential scope of impact is broad.
Mitigation Recommendations
To mitigate CVE-2026-33169, organizations should immediately upgrade Active Support to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 or later, where the regular expression inefficiency has been fixed. For environments where immediate upgrading is not feasible, consider implementing input validation or limiting the length of numeric strings processed by NumberToDelimitedConverter to reduce the risk of triggering the quadratic behavior. Monitoring application performance and setting resource usage thresholds can help detect exploitation attempts early. Additionally, employing web application firewalls (WAFs) to detect and block suspicious input patterns targeting this vulnerability can provide a temporary protective layer. Developers should review their use of Active Support’s number formatting features and avoid processing untrusted or excessively long digit strings without proper sanitization. Regularly auditing dependencies and applying security patches promptly is critical to maintaining resilience against such resource exhaustion attacks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-17T21:17:08.888Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69c1d4a7f4197a8e3ba0b411
Added to database: 3/24/2026, 12:02:47 AM
Last enriched: 3/24/2026, 12:05:32 AM
Last updated: 3/24/2026, 5:21:39 AM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.