{"id":"CVE-2026-33169","aliases":["CVE-2026-33169","GHSA-cg4j-q9v8-6v38"],"related":[],"kind":"vulnerability","state":"published","title":"Rails Active Support has a possible ReDoS vulnerability in number_to_delimited","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n`NumberToDelimitedConverter` used a regular expression with `gsub!` to insert thousands delimiters. This could produce quadratic time complexity on long digit strings.\n\n### Releases\nThe fixed releases are available at the normal locations.\n\n### Credit\nThis issue was responsibly reported by Hackerone researcher [scyoon](https://hackerone.com/scyoon).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Active Support es un conjunto de herramientas de bibliotecas de soporte y extensiones del núcleo de Ruby extraídas del framework Rails. 'NumberToDelimitedConverter' utiliza una expresión regular basada en lookahead con 'gsub!' para insertar delimitadores de millares. Antes de las versiones 8.1.2.1, 8.0.4.1 y 7.2.3.1, la interacción entre el grupo lookahead repetido y 'gsub!' puede producir una complejidad de tiempo cuadrática en cadenas de dígitos largas. Las versiones 8.1.2.1, 8.0.4.1 y 7.2.3.1 contienen un parche.","source":"nvd"}],"published":"2026-03-23T20:52:40.000Z","modified":"2026-09-10T03:50:38.710Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":">= 8.1.0.beta1, < 8.1.2.1","status":"affected"},{"version":">= 8.0.0.beta1, < 8.0.4.1","status":"affected"},{"version":"< 7.2.3.1","status":"affected"}],"vendor":"rails","product":"activesupport","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"8.1.0.beta1","status":"affected","fixed":"8.1.2.1"}],"ecosystem":"RubyGems","package":"activesupport","purl":"pkg:gem/activesupport","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0.beta1","status":"affected","fixed":"8.0.4.1"}],"ecosystem":"RubyGems","package":"activesupport","purl":"pkg:gem/activesupport","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"7.2.3.1"}],"ecosystem":"RubyGems","package":"activesupport","purl":"pkg:gem/activesupport","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"7.2.3.1"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.4.1"},{"status":"affected","introduced":"8.1.0","fixed":"8.1.2.1"}],"vendor":"rubyonrails","product":"rails","cpe":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-cg4j-q9v8-6v38","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/commit/29154f1097da13d48fdb3200760b3e3da66dcb11","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/commit/b54a4b373c6f042cab6ee2033246b1c9ecc38974","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/commit/ec1a0e215efd27a3b3911aae6df978a80f456a49","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/releases/tag/v7.2.3.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/releases/tag/v8.0.4.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33169","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rails/rails","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2026-33169.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-24T15:45:49.354Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33169","url":"https://www.cve.org/CVERecord?id=CVE-2026-33169","licence":"CVE Terms of Use","modified":"2026-03-24T15:46:43.465Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cg4j-q9v8-6v38","url":"https://github.com/advisories/GHSA-cg4j-q9v8-6v38","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:38.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33169","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33169","licence":"Public domain","modified":"2026-06-17T10:37:04.240Z"}],"updatedAt":"2026-11-25T22:59:16.508Z","epss":{"score":0.00717,"percentile":0.55024,"date":"2026-12-01T12:00:22.000Z"}}