CVE
CVE-2025-27789
- First Reported
- Oct 21, 2026
- Latest Reported
- Oct 21, 2026
CVE Enrichment
- CVSS
- 6.2 MEDIUM
- EPSS
- 0.56%
- EPSS Percentile
- 45.76%
- CISA KEV
- Not listed
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.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 12-Mar-2025 03:15
- Last Modified
- 17-Jun-2026 16:04
- EPSS Date
- 2026-10-20
- CWE
- CWE-1333
CVSS Vector
CVSS:3.1 AV:L /
AC:L /
PR:N /
UI:N /
S:U /
C:N /
I:N /
A:H
References
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (1)
- | | | 2 BDSA-2025-2047 (CVE-2025-27789) | 870 | 961 | 21% | Black Duck 2026 Report Finds Open Source Vulnerability Counts More Than Doubled
CVE (5)
Malware (1)
Threat Actors (1)
MITRE ATT&CK (5)
Vendors (1)
Products (6)
Industries (9)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
