CVE-2025-45143
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2025-45143 affects string-math package version 1.2.2, which contains a Regex Denial of Service (ReDoS) vulnerability. The issue was discovered and disclosed on June 30, 2025, affecting the core functionality of the string-math JavaScript package (NVD).

Technical details

The vulnerability exists in the regex implementation on line 7 of string-math.js, where a malicious input consisting of long sequences of null bytes and tabs can trigger a Regex Denial of Service condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L. The weakness has been categorized as CWE-1333 (Inefficient Regular Expression Complexity) (NVD, GitHub POC).

Impact

When exploited, the vulnerability can cause the application to crash through a denial of service condition. The attack can be triggered by providing a specially crafted input consisting of repeated tab characters followed by parentheses, which causes the regex engine to enter a catastrophic backtracking state (GitHub POC).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management