{"id":"EUVD-2025-7806","revision":null,"records":[{"revision":"9354675508604e079e476627e3ef28ed","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-27789","aliases":[],"title":"Inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups","description":"Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the `.replace` method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to `.replace`). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the `.replace` method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of `.replace`. This problem has been fixed in `@babel/helpers` and `@babel/runtime` 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on `@babel/helpers`, and instead depend on `@babel/core` (which itself depends on `@babel/helpers`). Upgrading to `@babel/core` 7.26.10 is not required, but it guarantees use of a new enough `@babel/helpers` version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.","state":0,"publishedAt":"2025-03-11T19:09:28.146+00:00","modifiedAt":"2025-03-11T19:53:42.811+00:00","affected":[{"ecosystem":"Vendor product","name":"babel","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"babel\",\n                    \"product\": \"babel\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 7.26.10\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 8.0.0-alpha.0, < 8.0.0-alpha.17\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":"MEDIUM"}],"references":["https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8","https://github.com/babel/babel/pull/17173"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-27789","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-27789","identifiers":["CVE-2025-27789"]},"retained":false,"historicalAffected":[]},{"revision":"ef70a291d56d412b8de18b412886f6fa","observedAt":"2026-11-15T08:30:17.161+00:00","statement":{"source":"euvd","id":"EUVD-2025-7806","aliases":["CVE-2025-27789","GHSA-968p-4wvh-cqc8"],"title":"Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the `.replace` method that…","description":"Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the `.replace` method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to `.replace`). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the `.replace` method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of `.replace`. This problem has been fixed in `@babel/helpers` and `@babel/runtime` 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on `@babel/helpers`, and instead depend on `@babel/core` (which itself depends on `@babel/helpers`). Upgrading to `@babel/core` 7.26.10 is not required, but it guarantees use of a new enough `@babel/helpers` version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":null}],"references":["https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8","https://github.com/babel/babel/pull/17173"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-7806","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 11, 2025, 7:09:28 PM","dateUpdated":"Mar 11, 2025, 7:53:42 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2025-0823","title":"Oracle Communications: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2023-49582","CVE-2023-51074","CVE-2023-5388","CVE-2023-5685","CVE-2024-1135","CVE-2024-12797","CVE-2024-21538","CVE-2024-25638","CVE-2024-28168","CVE-2024-28219","CVE-2024-28834","CVE-2024-34064","CVE-2024-35195","CVE-2024-37891","CVE-2024-38819","CVE-2024-38827","CVE-2024-40896","CVE-2024-4227","CVE-2024-43044","CVE-2024-47072","CVE-2024-47554","CVE-2024-49767","CVE-2024-50602","CVE-2024-52046","CVE-2024-52303","CVE-2024-5535","CVE-2024-56128","CVE-2024-56337","CVE-2024-57699","CVE-2024-6763","CVE-2024-7254","CVE-2025-1974","CVE-2025-23184","CVE-2025-24813","CVE-2025-24928","CVE-2025-24970","CVE-2025-27516","CVE-2025-27789","CVE-2025-31721"]},{"id":"WID-SEC-W-2025-1617","title":"IBM Cognos Analytics: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-36062","CVE-2025-36106","CVE-2025-36107","CVE-2025-27789","CVE-2025-36057"]},{"id":"WID-SEC-W-2025-0998","title":"IBM App Connect Enterprise Certified Container: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2024-6827","CVE-2025-1194","CVE-2025-32996","CVE-2025-32997","CVE-2025-27152","CVE-2025-27789","CVE-2025-1993"]},{"id":"WID-SEC-W-2025-1309","title":"IBM Tivoli Netcool/OMNIbus: Schwachstelle ermöglicht Denial of Service","vulnerabilityIds":["CVE-2025-27789"]},{"id":"NCSC-2025-0124","title":"Kwetsbaarheden verholpen in Oracle Communications","vulnerabilityIds":["CVE-2023-5388","CVE-2023-5685","CVE-2023-49582","CVE-2023-51074","CVE-2024-1135","CVE-2024-4227","CVE-2024-5535","CVE-2024-6763","CVE-2024-7254","CVE-2024-11053","CVE-2024-12797","CVE-2024-12798","CVE-2024-21538","CVE-2024-25638","CVE-2024-28168","CVE-2024-28219","CVE-2024-28834","CVE-2024-31141","CVE-2024-34064","CVE-2024-35195","CVE-2024-37891","CVE-2024-38819","CVE-2024-38827","CVE-2024-40896","CVE-2024-43044","CVE-2024-43709","CVE-2024-43796","CVE-2024-47072","CVE-2024-47554","CVE-2024-49767","CVE-2024-50602","CVE-2024-52046","CVE-2024-52303","CVE-2024-53122","CVE-2024-56128","CVE-2024-56337","CVE-2024-57699","CVE-2025-1974","CVE-2025-23084","CVE-2025-23184","CVE-2025-24813","CVE-2025-24928","CVE-2025-24970","CVE-2025-27516","CVE-2025-27789","CVE-2025-30729","CVE-2025-31721"]},{"id":"WID-SEC-W-2025-0705","title":"HCL BigFix WebUI-Anwendungen: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2024-47764","CVE-2025-25977","CVE-2025-27152","CVE-2025-27789","CVE-2025-29774","CVE-2025-29775"]},{"id":"msrc_CVE-2025-27789","title":"Inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups","vulnerabilityIds":["CVE-2025-27789"]},{"id":"WID-SEC-W-2025-0930","title":"IBM Business Automation Workflow: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2024-55565","CVE-2025-1495","CVE-2025-1838","CVE-2025-27152","CVE-2025-27789"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-7806","identifiers":["EUVD-2025-7806","CVE-2025-27789","GHSA-968p-4wvh-cqc8"]},"retained":false,"historicalAffected":[]},{"revision":"fd2fff457a10421aafff2fde1ba75f48","observedAt":"2026-10-25T02:24:42.386+00:00","statement":{"source":"nvd","id":"CVE-2025-27789","aliases":[],"title":"Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the `.replace` method that…","description":"Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the `.replace` method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to `.replace`). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the `.replace` method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of `.replace`. This problem has been fixed in `@babel/helpers` and `@babel/runtime` 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on `@babel/helpers`, and instead depend on `@babel/core` (which itself depends on `@babel/helpers`). Upgrading to `@babel/core` 7.26.10 is not required, but it guarantees use of a new enough `@babel/helpers` version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.","state":0,"publishedAt":"2025-03-11T20:15:18.33+00:00","modifiedAt":"2026-06-17T09:04:13.763+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":"MEDIUM"}],"references":["https://github.com/babel/babel/pull/17173","https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-27789","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-1333"],"productCriteria":[],"sourceDates":{"published":"2025-03-11T20:15:18.330","lastModified":"2026-06-17T09:04:13.763"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-27789","identifiers":["CVE-2025-27789"]},"retained":false,"historicalAffected":[]},{"revision":"6c0e803625084d9284677156257bff81","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-968p-4wvh-cqc8","aliases":["CVE-2025-27789"],"title":"Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groups","description":"### Impact\n\nWhen using Babel to compile [regular expression named capturing groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Named_capturing_group), Babel will generate a polyfill for the `.replace` method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to `.replace`).\n\nYour generated code is vulnerable if _all_ the following conditions are true:\n- You use Babel to compile [regular expression named capturing groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Named_capturing_group)\n- You use the `.replace` method on a regular expression that contains named capturing groups\n- **Your code uses untrusted strings as the second argument of `.replace`**\n\nIf you are using `@babel/preset-env` with the [`targets`](https://babeljs.io/docs/options#targets) option, the transform that injects the vulnerable code is automatically enabled if:\n- you use [_duplicated_ named capturing groups](https://github.com/tc39/proposal-duplicate-named-capturing-groups), and target any browser older than Chrome/Edge 126, Opera 112, Firefox 129, Safari 17.4, or Node.js 23\n- you use any [named capturing groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Named_capturing_group), and target any browser older than Chrome 64, Opera 71, Edge 79, Firefox 78, Safari 11.1, or Node.js 10\n\nYou can verify what transforms `@babel/preset-env` is using by enabling the [`debug` option](https://babeljs.io/docs/babel-preset-env#debug).\n\n\n### Patches\n\nThis problem has been fixed in `@babel/helpers` and `@babel/runtime` 7.26.10 and 8.0.0-alpha.17, please upgrade. It's likely that you do not directly depend on `@babel/helpers`, and instead you depend on `@babel/core` (which itself depends on `@babel/helpers`). Upgrading to `@babel/core` 7.26.10 is not required, but it guarantees that you are on a new enough `@babel/helpers` version.\n\nPlease note that just updating your Babel dependencies is not enough: you will also need to re-compile your code.\n\n### Workarounds\n\nIf you are passing user-provided strings as the second argument of `.replace` on regular expressions that contain named capturing groups, validate the input and make sure it does not contain the substring `$<` if it's then not followed by `>` (possibly with other characters in between).\n\n### References\n\nThis vulnerability was reported and fixed in https://github.com/babel/babel/pull/17173.","state":0,"publishedAt":"2025-03-11T20:30:18+00:00","modifiedAt":"2026-09-10T03:50:22.9715935+00:00","affected":[{"ecosystem":"npm","name":"@babel/helpers","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.26.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@babel/runtime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.26.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@babel/runtime-corejs2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.26.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@babel/runtime-corejs3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.26.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@babel/helpers","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0-alpha.0"},{"kind":"fixed","version":"8.0.0-alpha.17"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@babel/runtime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0-alpha.0"},{"kind":"fixed","version":"8.0.0-alpha.17"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@babel/runtime-corejs2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0-alpha.0"},{"kind":"fixed","version":"8.0.0-alpha.17"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@babel/runtime-corejs3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0-alpha.0"},{"kind":"fixed","version":"8.0.0-alpha.17"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8","https://nvd.nist.gov/vuln/detail/CVE-2025-27789","https://github.com/babel/babel/pull/17173","https://github.com/babel/babel/commit/d5952e80c0faa5ec20e35085531b6e572d31dad4","https://github.com/babel/babel"],"sourceUrl":"https://github.com/advisories/GHSA-968p-4wvh-cqc8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-968p-4wvh-cqc8","identifiers":["GHSA-968p-4wvh-cqc8","CVE-2025-27789"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T13:44:52.2477779+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T13:44:52.2477779+00:00","lastSuccessAt":"2026-11-16T13:44:52.547205+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:52.5472072+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-0b8d08d891bfa11c0d58a73df578d0b4ffb15504346bf16dc0ebf0fd9e417816","complete":true,"records":425990,"lastAttemptAt":"2026-11-16T13:44:51.1421919+00:00","lastSuccessAt":"2026-11-16T13:44:51.096163+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.1421919+00:00","snapshotPublishedAt":"2026-11-16T13:33:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e7b8d43557f44ad0b4e0a87d8bc9833b","complete":true,"records":13821,"lastAttemptAt":"2026-11-16T13:45:32.4445669+00:00","lastSuccessAt":"2026-11-16T13:45:32.439+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:45:32.439+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T13:44:52.2477779+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T13:44:52.2477779+00:00","lastSuccessAt":"2026-11-16T13:44:52.6938042+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:52.6938064+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-35f0b78ccc2a41d095ad714d95a22e02","complete":false,"records":13833,"lastAttemptAt":"2026-11-16T13:45:26.5787483+00:00","lastSuccessAt":"2026-11-16T13:45:26.575+00:00","error":"400 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T13:45:26.575+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13474,"expectedIdentifiers":13874,"failedIdentifiers":400},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T13:44:51.7855064+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.7855064+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T13:44:51.1886417+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.1886417+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T13:44:52.214417+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:52.214417+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-263d9c8d63997345727b11314d9b9377eba9fd4146f04497c069a15e332b60cb","complete":true,"records":232482,"lastAttemptAt":"2026-11-16T13:44:51.6814212+00:00","lastSuccessAt":"2026-11-16T07:32:30.5701252+00:00","error":null,"lastVerifiedAt":"2026-11-16T13:44:51.6814212+00:00","snapshotPublishedAt":"2026-11-16T06:48:00+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}