CVE-2026-33169
published medium CVSS 4.0 · 6.9Rails Active Support has a possible ReDoS vulnerability in number_to_delimited
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rails | — | activesupport>= 8.1.0.beta1, < 8.1.2.1 · >= 8.0.0.beta1, < 8.0.4.1 · < 7.2.3.1 | Affected | Not stated | GitHub_M |
| Debian | bookworm | rails | Advisory build | 2:6.1.7.10+dfsg-1~deb12u3 | DLA-4829-1 |
| Debian | trixie | rails | Advisory build | 2:7.2.2.2+dfsg-2~deb13u2 | DSA-6546-1 |
Description
Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. `NumberToDelimitedConverter` uses a lookahead-based regular expression with `gsub!` to insert thousands delimiters. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, the interaction between the repeated lookahead group and `gsub!` can produce quadratic time complexity on long digit strings. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rails | activesupport | >= 8.1.0.beta1, < 8.1.2.1 (affected)>= 8.0.0.beta1, < 8.0.4.1 (affected)< 7.2.3.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
7- https://github.com/rails/rails/commit/29154f1097da13d48fdb3200760b3e3da66dcb11
- https://github.com/rails/rails/commit/b54a4b373c6f042cab6ee2033246b1c9ecc38974
- https://github.com/rails/rails/commit/ec1a0e215efd27a3b3911aae6df978a80f456a49
- 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
- https://github.com/rails/rails/security/advisories/GHSA-cg4j-q9v8-6v38
Provider assertions
2GitHub_M · cna
Rails Active Support has a possible ReDoS vulnerability in number_to_delimited
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 81535eb7c5a16acd76f7bdf74f483fd1a89b8a1d2a4fa13d23a1aa6ce31aea1e
- Ingested
- 23 Sep 2026, 09:10:18 UTC
- Source record
- Official CVE record