CVE-2025-45143 json
string-math's string-math.js vulnerability can cause Regex Denial of Service (ReDoS)
published 2025-06-30 16 mo ago modified 2026-06-17 4 mo ago also GHSA-994j-5c83-r424 , EUVD-2025-19555
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/6en6ar/361608bccedb808061359481fe2f1b39 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | string-math | <=1.2.2 |
no fix listed |
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
gist.github.com
/6en6ar/361608bccedb808061359481fe2f1b39
web, exploit, third-party-advisory
-
npmjs.com
/package/string-math%2C
web, broken-link
-
github.com
/devrafalko/string-math/blob/master/string-math.js
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-45143
advisory
-
github.com
/devrafalko/string-math
package
Sources
- CVE List CVE-2025-45143
- GitHub Advisory GHSA-994j-5c83-r424
- NVD CVE-2025-45143
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.