#VU105984 Inefficient regular expression complexity in babel - CVE-2025-27789


Vulnerability identifier: #VU105984

Vulnerability risk: Low

CVSSv4.0: 1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2025-27789

CWE-ID: CWE-1333

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
babel
Universal components / Libraries / Programming Languages & Components

Vendor: Babel

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing untrusted input with a regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

babel: 7.0.0 beta.0 - 8.0.0 alpha.16


External links
https://github.com/babel/babel/pull/17173
https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability