{"id":"CVE-2026-33169","state":"PUBLISHED","title":"Rails Active Support has a possible ReDoS vulnerability in number_to_delimited","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.","publishedAt":"2026-03-23T23:07:07.630Z","updatedAt":"2026-03-24T15:46:43.465Z","severity":{"score":6.9,"label":"Medium","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["rails activesupport"],"affected":[{"vendor":"rails","product":"activesupport","versions":[{"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"}]}],"references":["https://github.com/rails/rails/security/advisories/GHSA-cg4j-q9v8-6v38","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"],"weaknesses":["CWE-400","CWE-1333"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33169.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33169","state":"PUBLISHED","datePublished":"2026-03-23T23:07:07.630Z","dateUpdated":"2026-03-24T15:46:43.465Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-17T21:17:08.888Z"},"containers":{"cna":{"title":"Rails Active Support has a possible ReDoS vulnerability in number_to_delimited","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"rails","product":"activesupport","versions":[{"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"}]}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-cg4j-q9v8-6v38","name":"https://github.com/rails/rails/security/advisories/GHSA-cg4j-q9v8-6v38","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/29154f1097da13d48fdb3200760b3e3da66dcb11","name":"https://github.com/rails/rails/commit/29154f1097da13d48fdb3200760b3e3da66dcb11","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/b54a4b373c6f042cab6ee2033246b1c9ecc38974","name":"https://github.com/rails/rails/commit/b54a4b373c6f042cab6ee2033246b1c9ecc38974","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/ec1a0e215efd27a3b3911aae6df978a80f456a49","name":"https://github.com/rails/rails/commit/ec1a0e215efd27a3b3911aae6df978a80f456a49","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v7.2.3.1","name":"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","name":"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","name":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-23T23:19:24.387Z"},"source":{"advisory":"GHSA-cg4j-q9v8-6v38","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-24T15:45:49.354964Z","id":"CVE-2026-33169","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-24T15:46:43.465Z"}}]}}}