CVE-2025-45143
Devrafalko String-math vulnerability
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
Affected products
String-math. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Devrafalko String-math runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/6en6ar/361608bccedb808061359481fe2f1b39 · Exploit
- github.com/devrafalko/string-math/blob/master/string-math.js
- www.npmjs.com/package/string-math%2C
- nvd.nist.gov/vuln/detail/CVE-2025-45143
- github.com/advisories/GHSA-994j-5c83-r424
- nvd.nist.gov/vuln/detail/CVE-2025-45143
- cve.org/CVERecord?id=CVE-2025-45143
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.