Skip to main content
VulnerabilityPublished Updated

CVE-2025-27789: Node babel · Babel is a compiler for writing next generation JavaScript

Affects node-babelSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.2 Medium.

Data as of 12 Nov 2026, 19:25 UTC

CVSS 3.1 base score
6.2Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10node-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=stonkingOther threatsAffected
  • 7.20.15+ds1+~cs214.269.168-16 – 7.20.15+ds1+~cs214.269.168-18
4 affected builds
Fixed in–
Ubuntu 26.04 LTSnode-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=resoluteOther threatsAffected
  • 7.20.15+ds1+~cs214.269.168-8 – 7.20.15+ds1+~cs214.269.168-16
5 affected builds
Fixed in–
Ubuntu 25.10node-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=questingOther threatsAffected
  • =7.20.15+ds1+~cs214.269.168-8
Fixed in–
Ubuntu 24.04 LTSnode-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=nobleOther threatsAffected
  • 7.20.15+ds1+~cs214.269.168-4 – 7.20.15+ds1+~cs214.269.168-6build1
4 affected builds
Fixed in–
Ubuntu 22.04 LTSnode-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=jammyOther threatsAffected
  • =7.12.12+~cs150.141.84-6
  • =7.12.12+~cs150.141.84-7
  • =7.12.12+~cs150.141.84-8
Fixed in–
Ubuntu Pro 20.04 LTSnode-babelpkg:deb/ubuntu/node-babel?arch=source&distro=esm-apps/focalOther threatsAffected
  • 6.26.0+dfsg-3build6 – 6.26.0+repack-3ubuntu0.1~esm1
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade @babel/helpers and @babel/runtime to version 7.26.10 or later (or 8.0.0-alpha.17 or later). Optionally, upgrade @babel/core to 7.26.10 or later to ensure patched dependencies. After updating, recompile all affected code to apply the fix. No other workarounds are available.

Description

Babel versions prior to 7.26.10 and 8.0.0-alpha.17 generate code with a polyfill for the .replace method that exhibits quadratic complexity on certain replacement pattern strings when compiling regular expression named capturing groups. This vulnerability can lead to denial of service if untrusted input is used as the replacement string in .replace. The issue is fixed in @babel/helpers and @babel/runtime versions 7.26.10 and 8.0.0-alpha.17. Users must update these dependencies and recompile their code to mitigate the vulnerability. No known workarounds exist.

References

Community reviews

Loading reviews…