CVE-2025-45143: string-math · ReDoS
Affects string-mathSource CVE Database V5
Not known to be exploited · CVSS 7.0 High.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 30 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmstring-mathpkg:npm/string-mathOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should proactively audit their software dependencies to identify usage of string-math v1.2.2. Where found, immediate mitigation steps include: 1) Applying any available patches or updates from the library maintainers once released. 2) If patches are not yet available, consider temporarily replacing or disabling the vulnerable functionality or implementing input validation and sanitization to reject suspiciously complex or malformed inputs that could trigger the ReDoS. 3) Employ runtime protections such as rate limiting, timeouts, and resource usage monitoring on services that utilize string-math to detect and mitigate potential abuse. 4) Incorporate Web Application Firewalls (WAFs) with custom rules to block or throttle requests exhibiting patterns consistent with ReDoS attempts. 5) Engage in threat intelligence sharing within industry groups to stay informed about emerging exploits and mitigation strategies. 6) Conduct thorough testing of applications to identify any performance degradation linked to regex processing and adjust regex patterns if possible to be more efficient.
Description
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.